java.lang.OutOfMemoryError

Failed to allocate a 162012 byte allocation with 137176 free bytes and 133KB until OOM

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 web2795

  • via chiffry-forum.de by Unknown author, 10 months ago
    Failed to allocate a 162012 byte allocation with 137176 free bytes and 133KB until OOM
  • via Coderanch by Dirk Lucas, 6 months ago
    Failed to allocate a 13063692 byte allocation with 4194304 free bytes and 11MB until OOM
  • via GitHub by kkot
    , 6 months ago
    Failed to allocate a 57283554 byte allocation with 16777120 free bytes and 34MB until OOM
  • Stack trace

    • java.lang.OutOfMemoryError: Failed to allocate a 162012 byte allocation with 137176 free bytes and 133KB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at android.graphics.Bitmap.nativeCopy(Native Method) at android.graphics.Bitmap.copy(Bitmap.java:698) at de.digittrade.secom.blur.Blur.blur(Unknown Source) at de.digittrade.secom.customviews.LiveBlurListView.draw(Unknown Source) at android.view.View.updateDisplayListIfDirty(View.java:16464) at android.view.View.draw(View.java:17238) at android.view.ViewGroup.drawChild(ViewGroup.java:3921) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711) at android.view.View.draw(View.java:17472) at android.view.View.updateDisplayListIfDirty(View.java:16464) at android.view.View.draw(View.java:17238) at android.view.ViewGroup.drawChild(ViewGroup.java:3921) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711) at android.view.View.updateDisplayListIfDirty(View.java:16459) at android.view.View.draw(View.java:17238) at android.view.ViewGroup.drawChild(ViewGroup.java:3921) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711) at android.view.View.updateDisplayListIfDirty(View.java:16459) at android.view.View.draw(View.java:17238) at android.view.ViewGroup.drawChild(ViewGroup.java:3921) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3711) at android.view.View.draw(View.java:17472) at com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:3205) at android.view.View.updateDisplayListIfDirty(View.java:16464) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:325) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:331) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:366) at android.view.ViewRootImpl.draw(ViewRootImpl.java:3134) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2933) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2522) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7397) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920) at android.view.Choreographer.doCallbacks(Choreographer.java:695) at android.view.Choreographer.doFrame(Choreographer.java:631) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7224) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

    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

    4 times, 1 year ago
    8 times, 5 months ago
    24 times, 8 months ago
    2 times, 9 months ago
    Unknown user
    Once, 9 months ago
    65 more bugmates