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

JasperReports OutOfMemoryError


2004 IR Help

Recommended Posts

By: graffg - graffg

JasperReports OutOfMemoryError

2005-04-19 07:34

Hi,

 

I generate a pdf report, it works for small datas but fails with a java.lang.OutOfMemoryError exception when my sql query returns a lot of records.

Do you know what happens and how can I resolve this problem ?

 

Thanks

 

Geo

 

 

 

 

By: Jeff - jeffjeff

RE: JasperReports OutOfMemoryError

2005-04-19 14:30

You may try to increase the memory for your JVM.

If you are using Windows 2000, you can add an environment veriable named JAVA_OPTS, and the value for the variable is -Xms192m -Xmx192m

 

192m means 192 Mb. You can change the number based on how much you have. Tomcat set 75 Mb as default. You may want to set it more than 75.

 

Hopefully this will solve your problem.

Good luck!

 

 

 

 

By: CleverFool - cleverfool

RE: JasperReports OutOfMemoryError

2005-04-22 03:32

http://sourceforge.net/tracker/index.php?func=detail&aid=1080656&group_id=36382&atid=416705

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...