Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
      java.lang.OutOfMemoryError: Failed to allocate a 268435472 byte allocation with 100663296 free bytes and 241MB until OOM, target footprint 383844384, growth limit 536870912
org.apache.commons.io.output.ByteArrayOutputStream.needNewBuffer(ByteArrayOutputStream.java:127)
org.apache.commons.io.output.ByteArrayOutputStream.write(ByteArrayOutputStream.java:158)
org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2147)
org.apache.commons.io.IOUtils.copy(IOUtils.java:2102)
org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2123)
org.apache.commons.io.IOUtils.copy(IOUtils.java:2078)
org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:721)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment