vsingh_2 Posted June 6, 2017 Share Posted June 6, 2017 We are using Japser to generate reports in our applicationWe 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.4JDK 1.7Server : tomcat 7 , 3GB RAMNumber of records : 850kBelow is the memory consumption and CPU utilization when generating the report 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 More sharing options...
hozawa Posted June 7, 2017 Share Posted June 7, 2017 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 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