java.lang.OutOfMemoryError: Failed to allocate a 52962812 byte allocation with 16764752 free bytes and 41MB until OOM

Stack Overflow | FredMaggiowski | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android huge JSONObject toString goes OutOfMemoryError

    Stack Overflow | 11 months ago | FredMaggiowski
    java.lang.OutOfMemoryError: Failed to allocate a 52962812 byte allocation with 16764752 free bytes and 41MB until OOM
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    OutOfMemoryError using FirebaseRecyclerViewAdapter

    Stack Overflow | 1 year ago | BGoll
    java.lang.OutOfMemoryError: Failed to allocate a 35116844 byte allocation with 16773184 free bytes and 32MB until OOM

  1. filpgame 30 times, last 4 months ago
  2. ajinkya_w 58 times, last 8 months ago
  3. kid 2 times, last 9 months ago
  4. mortalman7 1 times, last 11 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Failed to allocate a 52962812 byte allocation with 16764752 free bytes and 41MB until OOM

    at java.lang.StringFactory.newStringFromChars()
  2. Java RT
    StringBuilder.toString
    1. java.lang.StringFactory.newStringFromChars(Native Method)
    2. java.lang.AbstractStringBuilder.toString(AbstractStringBuilder.java:629)
    3. java.lang.StringBuilder.toString(StringBuilder.java:663)
    3 frames
  3. Android Platform
    JSONObject.toString
    1. org.json.JSONStringer.toString(JSONStringer.java:430)
    2. org.json.JSONObject.toString(JSONObject.java:690)
    2 frames
  4. it.example.sampler
    FileStoreRunnable.run
    1. it.example.sampler.controllers.network.RequestBodyEncoder.serialise(RequestBodyEncoder.java:69)
    2. it.example.sampler.controllers.network.RequestBodyEncoder.createPacket(RequestBodyEncoder.java:50)
    3. it.example.sampler.services.FileStoreRunnable.run(FileStoreRunnable.java:57)
    3 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame