2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: David Duchaine - dduchaine PDF, images and memory usage 2006-03-17 11:50We currently generate a PDF brochure with approx. 50 pictures about 40kb in size. We use the FileVirtualizer for this purpose and memory consumed by the JasperFillManager.fillReport to obtain the JasperPrint object seems garbage collected. However, when using JasperRunManager or JasperExportManager methods to export the report in PDF, memory consumption goes up and is never reclaimed by the garbage collector, eventually causing an OutOfMemoryError (after about 20-30 report generations). Someone has any clue? Jasperreport 1.2.0 iText 1.4 Image in the report definition is specified with the following expression: new java.net.URL($P{image_repository_url} + "/" + $F{image})) sincerely, David Link to comment Share on other sites More sharing options...
rafaelsantii Posted February 12, 2010 Share Posted February 12, 2010 I have the same problem. Even with Virtualizer, I get OutOfMemoryError. 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