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

  1. ,
    Expert tip

    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

  2. ,
    Expert tip

    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

Solutions on the web

via GitHub by mikes01
, 1 year ago
Failed to allocate a 1751411837 byte allocation with 14685664 free bytes and 170MB until OOM
via Stack Overflow by Maven
, 2 years ago
Failed to allocate a 108000012 byte allocation with 9062596 free bytes and 8MB until OOM
via Stack Overflow by Yuval Eliav
, 1 year ago
Failed to allocate a 63489036 byte allocation with 16777216 free bytes and 20MB until OOM
via GitHub by BishopGIS
, 1 year ago
Failed to allocate a 1157788 byte allocation with 135840 free bytes and 132KB until OOM
via Stack Overflow by Y.Zc
, 1 year ago
Failed to allocate a 636816 byte allocation with 192512 free bytes and 188KB until OOM
via GitHub by TonyHaddad91
, 1 year ago
Failed to allocate a 3499212 byte allocation with 643850 free bytes and 628KB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 1751411837 byte allocation with 14685664 free bytes and 170MB until OOM	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)	at java.nio.MemoryBlock.allocate(MemoryBlock.java:131)	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:73)	at org.mp4parser.support.AbstractBox.parse(AbstractBox.java:95)	at org.mp4parser.AbstractBoxParser.parseBox(AbstractBoxParser.java:107)	at org.mp4parser.BasicContainer.initContainer(BasicContainer.java:107)	at org.mp4parser.boxes.iso14496.part12.MetaBox.parse(MetaBox.java:82)	at org.mp4parser.AbstractBoxParser.parseBox(AbstractBoxParser.java:107)	at org.mp4parser.BasicContainer.initContainer(BasicContainer.java:107)	at org.mp4parser.support.AbstractContainerBox.parse(AbstractContainerBox.java:75)	at org.mp4parser.AbstractBoxParser.parseBox(AbstractBoxParser.java:107)	at org.mp4parser.BasicContainer.initContainer(BasicContainer.java:107)	at org.mp4parser.IsoFile.(IsoFile.java:55)	at org.mp4parser.IsoFile.(IsoFile.java:50)	at org.mp4parser.muxer.container.mp4.MovieCreator.build(MovieCreator.java:54)	at b.m.videoblog.maker.VideoFile.mergeVideo(VideoFile.java:159)	at b.m.videoblog.maker.Maker.mergeFile(Maker.java:448)	at b.m.videoblog.maker.Maker.setupPlayer(Maker.java:148)	at b.m.videoblog.maker.States.MakerPlayerState.initialize(MakerPlayerState.java:20)	at b.m.videoblog.maker.Maker.onSurfaceTextureAvailable(Maker.java:324)	at android.view.TextureView.getHardwareLayer(TextureView.java:368)	at android.view.View.updateDisplayListIfDirty(View.java:15244)	at android.view.View.draw(View.java:16040)	at android.view.ViewGroup.drawChild(ViewGroup.java:3610)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)	at android.view.View.updateDisplayListIfDirty(View.java:15262)	at android.view.View.draw(View.java:16040)	at android.view.ViewGroup.drawChild(ViewGroup.java:3610)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)	at android.view.View.updateDisplayListIfDirty(View.java:15262)	at android.view.View.draw(View.java:16040)	at android.view.ViewGroup.drawChild(ViewGroup.java:3610)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)	at android.view.View.updateDisplayListIfDirty(View.java:15262)	at android.view.View.draw(View.java:16040)	at android.view.ViewGroup.drawChild(ViewGroup.java:3610)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)	at android.view.View.updateDisplayListIfDirty(View.java:15262)	at android.view.View.draw(View.java:16040)	at android.view.ViewGroup.drawChild(ViewGroup.java:3610)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)	at android.view.View.updateDisplayListIfDirty(View.java:15262)	at android.view.View.draw(View.java:16040)	at android.view.ViewGroup.drawChild(ViewGroup.java:3610)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3400)	at android.view.View.draw(View.java:16273)	at com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:2697)	at android.view.View.updateDisplayListIfDirty(View.java:15267)	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:281)	at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:287)	at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:322)	at android.view.ViewRootImpl.draw(ViewRootImpl.java:2619)	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2438)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2071)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1111)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6017)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)	at android.view.Choreographer.doCallbacks(Choreographer.java:670)	at android.view.Choreographer.doFrame(Choreographer.java:606)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)