Jump to content
We've recently updated our Privacy Statement, available here ×

Problem: Java heap space


jiurriza

Recommended Posts

I'm generating a report in pdf format with over 20.000 pages (1 page per item in the database with all the information of that item), and when I try to view de report I get a java.lang.OutOfMemoryError, Java heap space error.

 

I'm using Eclipse, iReport and JasperReport. When I run the report to preview it on iReport everything goes well...the problem is when I run it from my web application.

 

Does anybody have any clue on how I can solve this? Any help is appreciated.

 

Thanks

 

Cheers,

Jose I.

Post edited by: jiurriza, at: 2006/12/05 13:50

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Thanks for your reply...Unfortunately it didn't work.

 

Just to be sure I did it the right way, I went to eclipse preferences -> tomcat -> jvm settings -> and I added both -Xmx512m and -XX:MaxPermSize=256m to the "Append to JVM parameters". I also tryed with 1024m.

 

Anything else I could try?

 

Cheers,

J.I.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...