2004 IR Help Posted August 21, 2006 Share Posted August 21, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now