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

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JavaCPP BytePointer OutOfMemory Error

    Stack Overflow | 7 months ago | Tunahan Bayındır
    java.lang.OutOfMemoryError: Cannot allocate 267850262 + 614403 bytes (> Pointer.maxBytes)
  2. 0

    JavaCpp BytePointer OutOfMemory error

    GitHub | 7 months ago | tunahanbayindir
    java.lang.OutOfMemoryError: Cannot allocate 267850702 + 614403 bytes (> Pointer.maxBytes)
  3. 0

    GitHub comment 15#273666479

    GitHub | 3 months ago | Ggsdl
    java.lang.OutOfMemoryError: Failed to allocate memory within limits: totalBytes = 255M + 600K > maxBytes = 256M
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 15#273726324

    GitHub | 3 months ago | Ggsdl
    java.lang.OutOfMemoryError: Failed to allocate memory within limits: totalBytes = 511M + 600K > maxBytes = 512M
  6. 0

    用东西挡住摄像头,让Preview里面是全黑,不一会就OOM

    GitHub | 1 month ago | gordonpro
    java.lang.OutOfMemoryError: Failed to allocate memory within limits: totalBytes = 95M + 600K > maxBytes = 96M

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Cannot allocate 267850262 + 614403 bytes (> Pointer.maxBytes)

      at org.bytedeco.javacpp.Pointer.deallocator()
    2. JavaCPP
      BytePointer.<init>
      1. org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:446)
      2. org.bytedeco.javacpp.Pointer.init(Pointer.java:118)
      3. org.bytedeco.javacpp.BytePointer.allocateArray(Native Method)
      4. org.bytedeco.javacpp.BytePointer.<init>(BytePointer.java:82)
      4 frames
    3. org.bytedeco.javacv
      FFmpegFrameFilter.push
      1. org.bytedeco.javacv.FFmpegFrameFilter.pushImage(FFmpegFrameFilter.java:265)
      2. org.bytedeco.javacv.FFmpegFrameFilter.push(FFmpegFrameFilter.java:252)
      3. org.bytedeco.javacv.FFmpegFrameFilter.push(FFmpegFrameFilter.java:248)
      3 frames
    4. com.dodo.challenger
      RecorderThread.run
      1. com.dodo.challenger.videorecorder.RecorderThread.processBytesUsingFrame(RecorderThread.java:186)
      2. com.dodo.challenger.videorecorder.RecorderThread.processFramesFromList(RecorderThread.java:84)
      3. com.dodo.challenger.videorecorder.RecorderThread.run(RecorderThread.java:59)
      3 frames