Quote:
Originally Posted by Noam
I'm trying to do image processing with opencv, but the code crash after a few seconds
this is the code
... OpenCV Error: Assertion failed (u != 0) in create, file /var/lib/jenkins/workspace/OpenCV-roborio/modules/core/src/matrix.cpp, line 424
thr1 error1
before1
proc1 - start new thread
Java HotSpot(TM) Embedded Client VM warning: INFO: os::commit_memory(0xabfc7000, 12288, 0) failed; error='Cannot allocate memory' (errno=12)
...#
Any idea why its happening ? and how to fix that ?
Thanks in advance
|
You Grip-Pipeline code seems to be too large, while it worked on your dev-station when it was created your rio has less memory to work with. see which steps can be removed and still return the similar result.