Jump to content

Unlimited Size of a Report


halabe

Recommended Posts

Hi,

I created a report that displays pictures uploaded using a java web application.

When generating this report, I am getting an outofmemory exception because the size of the pictures is very big which is leading to a big report size.

Can I set the size of the report to unlimited in any way?

 

Thank you,

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please use a subclass of JRVirtualizer class to set up the secondary cache.You can choose from JRFIleVirtualizer, JRSwapFileVirtualizer and JRGZipVirtualizer. This will help you to come out of the OutOfMemoryError. Please check the jasper reports samples (virtualizer subfolder) to get a sample java code. PFA attached sample code from the jasperreports sample.

Hope this helps!

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