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

JRViewer works slow when report is large


blosser

Recommended Posts

My result report contain crosstab which had about 100.000 cells. When I use scrolling in JRViewer all report works slow. One of the decision is generate report into pdf, but I want to use JRViewer. I consider, JRViewer represent all cell as java components. I want to try represent report in JRViewer as Image and think it will be works faster in lagre report. How can I do it?
Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Firstly this property is a Java long property, and 10000000000000000000 is a little too much for a long value (max is 9,223,372,036,854,775,807).

 

Secondly, this should not be a system property, but a JR property. You need to do

Code:

JRProperties.setProperty(JRViewer.VIEWER_RENDER_BUFFER_MAX_SIZE, "1000000000000000000"«»);

instead, or put

Code:
[code]
net.sf.jasperreports.viewer.render.buffer.max.size=1000000000000000000

in your jasperreports.properties (which should be placed on the classpath).

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