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

EXCEL REPORT GENERATION WITH MORE THAN 5OK RECORDS


kenil.m

Recommended Posts

When Generating Jasper Excel output with large set of data,following issue iam facing

1.Heap space memory Issue

2.Taking more time in Hours

3.Output is not generted and get hanged

4.if Generated,generating in multisheets(i Need in single sheet)

Expecting Some Solutions for all this

Thank You

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

There isn't enough memory allocated to the JVM to process that much data; jasper is failing because it doesn't have the resources needed to fill that report. 

If this is happening on your local machine, you can increase the memory available to the JVM, but that will be limited by the system you're using (the actual memory available).

https://www.messiahpsychoanalyst.org/wikihow/index.php/How_to_Increase_Java_Memory_in_Windows

If this is happening on JasperServer, you have several options available to address this, but the most straight forward is again to increase the memory available. You can find documentation on the Apache Tomcat website, and here's an example that demonstrates how that's done

https://helicaltech.com/how-to-configure-jasper-apache-tomcats-java-heap-size/

If increasing the memory available the JVM isn't an option, you can look into virtualizers, which can help segment the amount of memory in use - if so just post back, that's a bit more involved than just bumping up the memory settings - 

https://helicaltech.com/usage-virtualizers-jasperserver/

Link to comment
Share on other sites

  • 4 weeks later...

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...