couetbis Posted January 23, 2008 Share Posted January 23, 2008 Hi! I'am using JasperReports 2.0.4.My report produce java.lang.OutOfMemoryError on report PDF export stage. I'm using JRSwapVirtualizer. In my report, there are barcode generate by JRAbstractSvgRenderer. I have about 10000 records (print : type + barcode) I read the post [http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=35538&catid=8&limit=6&limitstart=0]but it don't answer my problem. Thanks for you help Link to comment Share on other sites More sharing options...
lucianc Posted January 24, 2008 Share Posted January 24, 2008 There is indeed a memory issue with SVG renderers in the PDF exporter. Please log this as a bug here. Regards,Lucian Link to comment Share on other sites More sharing options...
couetbis Posted January 25, 2008 Author Share Posted January 25, 2008 What is the "size limit" of an PDF file exported ? I can export these 10 000 records with 512M and I obtain a pdf of 72731 Ko. It's normal ? Link to comment Share on other sites More sharing options...
lucianc Posted January 25, 2008 Share Posted January 25, 2008 The amount of heap memory occupied by Java objects that are required to generate a 70M PDF file will not necessarily be 70M. PDF output is something, and Java objects are another thing. I can't provide at the moment more details about the objects that are used in this scenario since they are not directly managed by JasperReports, but by iText, the library JR uses to generate PDF files. Regards,Lucian 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