Hello. I had a problem using gstreamer, opencv on jetson nano
My configuration is Jetpack 4.4.1 , python 3.6.9 (Default on jetpack), using CSI Camera.
I want to capture of images for a while.
I uploaded my python file. You can reproduce it.
Starting the program, the memory usage is gradually increasing , ran into below problem and stop!
How can i solve it?
NvRmChannelSubmit: NvError_IoctlFailed with error code 22 NvRmPrivFlush: NvRmChannelSubmit failed (err = 196623, SyncPointIdx = 7, SyncPointValue = 0) fence_set_name ioctl failed with 22 (Argus) Error InsufficientMemory: (propagating from src/eglstream/ImageImpl.cpp, function copyToNvBuffer(), line 513) Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:498 IImageNativeBuffer not supported by Image. Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:194 (propagating)
No.
In your sample code case, I don’t see the memory increasing.
So the problem might be that when call ‘cv2.VideoCapture’ in for loop. It seize the memory and do not free. It cause the problem.
please fix it.