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

Virtualizer attribute maxsize


Recommended Posts

By: ACSD - acdourado

Virtualizer attribute maxsize

2006-01-16 09:06

Hi,

I'm using report virtualizer to generate large reports.

To obtain an object JRFileVirtualizer I have to define the attribute maxsize. What does this number mean? I tried with 2, 500 and 1000 and I couldn't find any difference.

I got other problem: I tried to generate a large report in PDF and it ran OK. But when I tried the XLS it occurred an Out of Memory Error. Is this problem somehow related to the maxsize used in the JRFileVirtualizer object.

 

Thanks,

Ana

 

 

By: Lucian Chirita - lucianc

RE: Virtualizer attribute maxsize

2006-01-17 00:46

Hi

 

The maxsize parameter is the number of report pages that the virtualizer will keep in memory.

 

Regarding the XLS export, it is known that the POI library keeps the whole generated document in memory. The virtualizer saves memory used by the JasperPrint object, it cannot affect the memory used by POI. This issue will only be fixed when POI will support streaming output (which might not be possible due to the XLS format).

 

Regards,

Lucian

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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