Jump to content
We've recently updated our Privacy Statement, available here ×

Large report generation with Jasper using Virtualizer takes too much time


vsingh_2

Recommended Posts

We are using Japser to generate reports  in our application

We have upgraded from 5.0.1 to 6.4 to achive better performance but this is what we are seeing after few test runs.

Jasper version : 6.4

JDK 1.7

Server : tomcat 7 , 3GB RAM

Number of records : 850k

Below is the memory consumption and CPU utilization when generating the report 
 
jasep_memory(2).png.8a56275849ae152fcd7fea55bd20c4c5.png
 
Looking for suggestions on how to reduce report generation time with lower memory consumption.
 
We are using JRSwapFileVirtualizer. When virtualizer was not used, then time taken to generate report was better but we could not generate large reports.
Should we use another virtualizer like Gzip virtualizer or tweak parameters for  File Virtualizer like 
maxSize, blockSize and minGrowCount parameters.

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

I think Jaspersoft took back on 6.4.0 because it's no longer available at sourceforge. It may be that there were some problem with it. Try using 6.3.1.

Also, JasperReports 6.x is better with Oracle JDK 8 - try upgrading your jdk.

Are you running JasperReports on Tomcat? If so, that's the problem. Try running from the command line.

Anyways, 3GB for a web app is too small - I've found that JasperReports works better with at least 8GB memory.

You also didn't mention your datasource. Try using csv and don't use something like SpringFramework because it drains memory.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...