2001 JI Open Discussion Posted August 21, 2006 Share Posted August 21, 2006 By: Venkat - venkat_pasham java.lang.OutOfMemoryError 2005-05-10 19:55Hi I am using Jasper Reports 0.6.4. My reports run into 1000 pages and I am using a lot of sub reports. I got outofmemory error and I tried to fix it by the solution posted at the following link.... https://sourceforge.net/tracker/index.php?func=detail&aid=1146354&group_id=36382&atid=416703 which is.............. cutting the try{}catch{} (with the wait statement inside it) (in prepare method) in JRFillsubreport.java and pasting it inside the if(fillThread==null) {...} block. I created a new jar of Jasper reports, but now I have the following error....... java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 606, local class serialVersionUID = 604 I don't know whether OutOfMemoryError is fixed or not..On the top of that now I have this error. Can someone please help me ASAP...I have a deadline to meet soon (Friday). Thanks in advance. Venkat By: Edgar Dollin - edollin RE: java.lang.OutOfMemoryError 2005-05-11 05:47Recompile your report. Edgar By: Venkat - venkat_pasham RE: java.lang.OutOfMemoryError 2005-05-11 06:37Hi thanks for your information. java.io.InvalidClassException is fixed, but I am still getting the java.lang.OutOfMemory error. Any other patches and fixes for this error. If needed I can attach JRFillsubreport.java to which I made changes trying to fix the OutOfMemory error. Thanks in advance. Venkat By: Ramana Reddy - toramanareddy RE: java.lang.OutOfMemoryError 2005-05-18 20:29hi venkat, i am also getting same problem, i solve it in diff. way, i increase my master report height equals to total sub-report height(in design mode height) then it is working fine. i have only three subreport in my master report. By: kootjekip - kootjekip RE: java.lang.OutOfMemoryError 2005-06-06 03:04Redesign your query, they are too complex. In every situation where i had the out of memory error, a redesign of my query helped me out (stupid java database driver) By: misiacz1 - misiacz1 How to create a footnote 2005-05-30 06:20Is it possible in Jasper? I didn't find any information ? By: kootjekip - kootjekip RE: How to create a footnote 2005-06-06 03:03It's not possible in subreports only in your mainreport (subreports lose features like page footers and so on because it can't detect the page ending right) 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