Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The error is coming from <code>NewDirectByteBuffer</code> at line 2725 (of this copy of) Jni.cpp: <a href="https://android.googlesource.com/platform/dalvik/+/3a7af00/vm/Jni.cpp" rel="noreferrer">https://android.googlesource.com/platform/dalvik/+/3a7af00/vm/Jni.cpp</a></p> <p>Some native code is trying to initialize an NIO DirectByteBuffer, and its passing in an initial size of 80,000 and a NULL pointer. Since that does not make sense (the pointer should be non-NULL) an exception is thrown. The pointer is most likely NULL because the allocation of the 80,000 bytes failed, most likely because your app has run out of memory, or because memory has become so fragmented, the 80k isn't available contiguously.</p> <p>Technically, there is a small bug in the caller's code. It should probably have thrown a more direct-to-the-point <code>OutOfMemoryError</code>, but the idea and the end result are the same.</p> <p>Since 80k isn't very big, the statistically likely situation is that you have a memory leak (likely of this very object).</p> <p>If you have a backtrace from the dalvik log, it may help pin-point where this particular error is coming from. This would be handy for fixing the <code>OutOfMemoryError</code> bug (it could be in Libgdx, or in box2d, or in any of the native libraries used by Android, its impossible to say without more detail). However, the real root of the problem is your memory leak. Use the Eclipse DDMS heap tracking tools to figure out where that problem is coming from.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload