java.lang.OutOfMemoryError

Exception #2583222

Samebug tips1

For most cases,recommend that you use the Glide library to fetch, decode, and display bitmaps in your app. Glide abstracts out most of the complexity in handling these and other tasks related to working with bitmaps and other images on Android.

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

Solutions on the web364

  • via GitHub by ninjagoat
    ,
  • Stack trace

    • java.lang.OutOfMemoryError at android.graphics.BitmapFactory.nativeDecodeStream(BitmapFactory.java) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:650) at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:389) at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:449) at com.newrelic.agent.android.instrumentation.BitmapFactoryInstrumentation.decodeFile(BitmapFactoryInstrumentation.java:36) at com.mixpanel.android.util.ImageStore.getImage(ImageStore.java:96) at com.mixpanel.android.mpmetrics.DecideChecker.getNotificationImage(DecideChecker.java:258) at com.mixpanel.android.mpmetrics.DecideChecker.runDecideCheck(DecideChecker.java:101) at com.mixpanel.android.mpmetrics.DecideChecker.runDecideChecks(DecideChecker.java:70) at com.mixpanel.android.mpmetrics.AnalyticsMessages$Worker$AnalyticsMessageHandler.handleMessage(AnalyticsMessages.java:269) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.os.HandlerThread.run(HandlerThread.java:60)

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    dmitrydmitry
    33 times, last one
    Unknown visitor
    Unknown visitorOnce,
    2 more bugmates