java.lang.OutOfMemoryError: Java heap space in jasper report -
When I export content in the doctor format, I get a Java heap space error,
< Code> java.lang.OutOfMemoryError: java.util.Arrays.copyOf (unknown source) at java.io.ByteArrayOutputStream.write (unknown source) at sun.nio.cs.StreamEncoder.writeBytes unknown source (unknown source) sun. Nio at Sun.nio.cs.StreamEncoder.write (unknown source) at sun.nio.cs.StreamEncoder.write (unknown source) at java.io.OutputStreamWriter.write (unknown source) .cs.StreamEncoder.implWrite (unknown Source) at Java.io.Writer.write (unknown source)
add the best
-XX: + HeapDumpOnOutOfMemoryError
When an outofmmy error occurs, and then analyze the example of hep dump, which will show you the amount of the object and usually identifies the objects due to the outoffemme error.
Comments
Post a Comment