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

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -