rajil Posted June 16, 2008 Share Posted June 16, 2008 Hi. I am facing some problem while creating JasperPrint objects using Virtualizer. Actually, i have total 5000 reports to generate. each having 2 pages. (5000*2 = 10000 Pages). I am using Batch Export to generate report in a single file. To do this i am saving all 5000 JasperPrint objects into an Array List and Export them to a single file. I am running this under Windows XP, Tomcat4.1, JDK 1.4, Jasper 3.0. Now, it consumes lots of memory. Arround 600 MB of HeapSize. I tried using all 3 Virtualizer, but it goes out of memory after processing only 2700 JasperPrint Objects even after setting HeapSize to 1.6 GB.But without using Virtualize its working fine. Also, I tried in both ways, using seperate Virtualizer Object for all JasperPrints (MaxSize=1) as well as using the same Virtualizer Object for all JasperPrints Objects (MaxSize=5001). But in both cases it goes out of memory. Can you suggest the solution. 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