File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes java heap space error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "java heap space error" Watch "java heap space error" New topic
Author

java heap space error

Yogesh Bali
Greenhorn

Joined: May 29, 2009
Posts: 21
Dear Friends,

I am trying to excute the crystal report by exporting it to excel format using eclipse IDE. The reports viewed perfectly well in other formats, but when i click excel, "java heap space" error message gets displayed.

I tried with increasing the size of tomcat by "-Xms512m -Xmx512m ", remove the report at the end of my function, called clientdoc.close(), in order to solve this error. but its still appearing. please help and provide me the direction. Thanking you.

Regards,
Yogesh Bali
Kees Jan Koster
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear Yogesh,

Make a Java heap dump at the time the exception happens en analyse that to see what the memory is being used for.

Here is how to enable dumping your heap when an OOME happens: http://java-monitor.com/forum/showthread.php?t=273

Kees Jan


Java-monitor, JVM monitoring made easy <- right here on Java Ranch
Srinivasan Elangovan
Greenhorn

Joined: Apr 11, 2012
Posts: 3


Try this Resolved Post.

webpage
 
GeeCON Prague 2014
 
subject: java heap space error