|
MemPartAlloc Error When Trying to Access the NIVision Library
So we've been trying to use the NIVision library to process images, but we've been hitting this exception while running our camera code. This is the exception:
Exception while getting image
[cRIO] edu.wpi.first.wpilibj.image.NIVisionException
[cRIO] 0xeccc20 (camera task executor): memPartAlloc: block too big 1259784 bytes (0x8 aligned) in partition 0x34f600
Can anyone shed some light on this?
We do use image.free() to clear the memory on the images, so if anyone has any ideas on what the problem may be please leave your thoughts below.
Thanks.
|