-
Notifications
You must be signed in to change notification settings - Fork 588
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
JavaCpp BytePointer OutOfMemory error #130
Labels
Comments
Increase that value, usually with the java -Xmx command line flag option. |
Don't know how to do. Any help, I am using Android Studio. |
thanks a lot. largeHeap did the trick but it used about 400mb's ram when recording video with javacpp. Isn't it extremely high?? |
If you feel that's too high, please file a ticket about that upstream. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated JavaCv and JavaCpp today, now it gives an OutOfMemoryError.
No implementation found for long org.bytedeco.javacpp.Pointer.physicalBytes() (tried Java_org_bytedeco_javacpp_Pointer_physicalBytes and Java_org_bytedeco_javacpp_Pointer_physicalBytes__)
with this print trace and
java.lang.OutOfMemoryError: Cannot allocate 267850702 + 614403 bytes (> Pointer.maxBytes) at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:543) at org.bytedeco.javacpp.Pointer.init(Pointer.java:121) at org.bytedeco.javacpp.BytePointer.allocateArray(Native Method) at org.bytedeco.javacpp.BytePointer.<init>(BytePointer.java:82) at org.bytedeco.javacv.FFmpegFrameFilter.pushImage(FFmpegFrameFilter.java:265) at org.bytedeco.javacv.FFmpegFrameFilter.push(FFmpegFrameFilter.java:252) at org.bytedeco.javacv.FFmpegFrameFilter.push(FFmpegFrameFilter.java:248)
this error code.
Need really urgent help. Best regards.
The text was updated successfully, but these errors were encountered: