java.lang.OutOfMemoryError: Cannot allocate 267850262 + 614403 bytes (> Pointer.maxBytes)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Tunahan Bayındır
, 1 year ago
Cannot allocate 267850262 + 614403 bytes (> Pointer.maxBytes)
via GitHub by Ggsdl
, 10 months ago
Failed to allocate memory within limits: totalBytes = 255M + 600K > maxBytes = 256M
via GitHub by Ggsdl
, 10 months ago
Failed to allocate memory within limits: totalBytes = 511M + 600K > maxBytes = 512M
via GitHub by ninyess
, 7 months ago
Failed to allocate memory within limits: totalBytes = 510M + 1M > maxBytes = 512M
via GitHub by gordonpro
, 7 months ago
Failed to allocate memory within limits: totalBytes = 95M + 600K > maxBytes = 96M
via GitHub by lycchn
, 1 year ago
Cannot allocate 2 + 5909359200 bytes (> Pointer.maxBytes)
java.lang.OutOfMemoryError: Cannot allocate 267850262 + 614403 bytes (> Pointer.maxBytes)
at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:446)
at org.bytedeco.javacpp.Pointer.init(Pointer.java:118)
at org.bytedeco.javacpp.BytePointer.allocateArray(Native Method)
at org.bytedeco.javacpp.BytePointer.(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)
at com.dodo.challenger.videorecorder.RecorderThread.processBytesUsingFrame(RecorderThread.java:186)
at com.dodo.challenger.videorecorder.RecorderThread.processFramesFromList(RecorderThread.java:84)
at com.dodo.challenger.videorecorder.RecorderThread.run(RecorderThread.java:59)

Users with the same issue

38 times, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.