java.lang.OutOfMemoryError

This exception has no message.

Samebug tips4

Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2172

  • via Coderanch by arjan pronk, 8 months ago
    This exception has no message.
  • via Coderanch by sheril she, 11 months ago
    This exception has no message.
  • via Coderanch by Brendan Kennedy, 11 months ago
    This exception has no message.
  • Stack trace

    • java.lang.OutOfMemoryError at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at java.nio.MemoryBlock.allocate(MemoryBlock.java:125) at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:72) at org.rajawali3d.Geometry3D.setTextureCoords(Geometry3D.java:843) at org.rajawali3d.Geometry3D.setTextureCoords(Geometry3D.java:833) at org.rajawali3d.Geometry3D.setData(Geometry3D.java:458) at org.rajawali3d.Object3D.setData(Object3D.java:160) at org.rajawali3d.Object3D.setData(Object3D.java:153) at org.rajawali3d.loader.LoaderOBJ.parse(LoaderOBJ.java:355) at com.tveon.komixstream.rosespike.RoseActivity$RoseRenderer.initScene(RoseActivity.java:60) at org.rajawali3d.renderer.Renderer.onRenderSurfaceSizeChanged(Renderer.java:351) at org.rajawali3d.view.SurfaceView$RendererDelegate.onSurfaceChanged(SurfaceView.java:232) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1520) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1248)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 1 year ago
    8 times, 1 year ago
    17 times, 1 year ago
    Unknown user
    Once, 1 year ago
    8 times, 5 months ago
    66 more bugmates