- Code: Select all
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:78)
at org.docx4j.openpackaging.io.LoadFromZipNG.getBytesFromInputStream(LoadFromZipNG.java:114)
at org.docx4j.openpackaging.io.LoadFromZipNG.get(LoadFromZipNG.java:167)
The files were dealing with aren't too large, but we are loading a lot of files 50+ with the same request. Any ideas how to deal with this issue?
Thanks,
Justin