java.lang.OutOfMemoryError: Failed to allocate a 131008012 byte allocation with 16777216 free bytes and 50MB until OOM

Stack Overflow | Alen Abraham | 5 months ago
  1. 0

    Read large file as bytes in android

    Stack Overflow | 5 months ago | Alen Abraham
    java.lang.OutOfMemoryError: Failed to allocate a 131008012 byte allocation with 16777216 free bytes and 50MB until OOM
  2. 0

    Large File Uploads

    GitHub | 2 years ago | derekentringer
    java.lang.OutOfMemoryError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    8 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 131008012 byte allocation with 16777216 free bytes and 50MB until OOM

      at java.io.ByteArrayOutputStream.expand()
    2. Java RT
      ByteArrayOutputStream.write
      1. java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:91)
      2. java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:201)
      2 frames
    3. in.codme.cloudapp
      FileBrowserActivity$19.getBody
      1. in.codme.cloudapp.FileBrowserActivity$19.getBody(FileBrowserActivity.java:866)
      1 frame
    4. Android-Volley Library
      NetworkDispatcher.run
      1. com.android.volley.toolbox.HurlStack.addBodyIfExists(HurlStack.java:236)
      2. com.android.volley.toolbox.HurlStack.setConnectionParametersForRequest(HurlStack.java:214)
      3. com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:106)
      4. com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:93)
      5. com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:105)
      5 frames