-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
OOM issue with FFmpegFrameRecorder #1394
Comments
Make sure to deallocate anything you don't need as soon as you don't need it.
|
Thanks @saudet i think i release all resource immediately after use. e.g For ffmpegGraber, i release it, for IplImage, i release also. when i grab image in loop, i don't need release the image each time right? |
Duplicate of #1383 |
BTW, I think I've fixed all the memory leaks occurring in |
Excuse me,Why can't I download 1.5.4-snapshot |
We can download as explained here: http://bytedeco.org/builds/ |
Hi i encounter many issues like this, any suggestion?
java.lang.OutOfMemoryError:
at org.bytedeco.javacpp.Pointer.deallocator (Pointer.java:29)
at org.bytedeco.javacpp.Pointer.init (Pointer.java:5)
at org.bytedeco.ffmpeg.avformat.Write_packet_Pointer_BytePointer_int.allocate (Native Method)
at org.bytedeco.ffmpeg.avformat.Write_packet_Pointer_BytePointer_int. (Write_packet_Pointer_BytePointer_int.java:2)
at org.bytedeco.javacv.FFmpegFrameRecorder$WriteCallback. (FFmpegFrameRecorder.java:1)
at org.bytedeco.javacv.FFmpegFrameRecorder. (FFmpegFrameRecorder.java:6)
The text was updated successfully, but these errors were encountered: