Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java heap space error

 
Yogesh Bali
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Srinivasan Elangovan
Greenhorn
Posts: 3
Java Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Try this Resolved Post.

webpage
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic