-
Notifications
You must be signed in to change notification settings - Fork 855
Running out of memmory when using VideoCapture #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same is happening if I use the ReadSync method. Memory is filling up until it crashes. Kind regards Thomas |
Might be useful to add a dispose method to the Matrix class that frees the underlying cv::Mat immediately |
yes that would be awesome |
Has anyone managed to make any changes that help this? |
Do you know which Object is overloaded ? What should we "flush" to keep the Memory ok ? (I have the same issue) |
I am not entirely sure if this is an issue but I was running in some trubles using your module.
First of all thanks for a great opencv environment.
This code is just an example for what i am trying to do:
For a while everything runs just fine but after a while I get the following error:
OpenCV Error: Insufficient memory (Failed to allocate 921604 bytes) in OutOfMemoryError, file /home/pi/opencv-2.4.10/modules/core/src/alloc.cpp, line 52
terminate called after throwing an instance of 'cv::Exception'
what(): /home/pi/opencv-2.4.10/modules/core/src/alloc.cpp:52: error: (-4) Failed to allocate 921604 bytes in function OutOfMemoryError
Is there a way to free memory? I thought the Carbage Collector should take care of that.
Thanks for your help.
Kind regards Thomas
The text was updated successfully, but these errors were encountered: