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

  1. 0

    Android huge JSONObject toString goes OutOfMemoryError

    Stack Overflow | 5 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 | 11 months ago | BGoll
    java.lang.OutOfMemoryError: Failed to allocate a 35116844 byte allocation with 16773184 free bytes and 32MB until OOM

  1. ajinkya_w 58 times, last 2 months ago
  2. kid 2 times, last 4 months ago
  3. mortalman7 1 times, last 6 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