Jump to content
JasperReports Library 7.0 is now available ×

Filling a Report


ktrinad

Recommended Posts

By: Evguen Rosada - evguen

Filling a Report

2003-11-17 10:32

Hi,

I have a problem with report's filling. When I have a lot of bytes in a report and a lot of users accessing this report, I have a problem with memory space.

How Can I fill a file on disk during the report process?

 

Thanks in advance.

 

Evguen

 

 

 

 

By: Giulio Toffoli - gt78

RE: Filling a Report

2003-11-17 12:54

I have delegated report printing to a special print manager that has a MAX_THREADS. In this way a servlet submit a job (a print) and no more than MAX_THREADS are executed at the same time saving ram and starvation problems.

 

Giulio

 

 

 

 

By: John Augusto Charnet - jcharnet

RE: Filling a Report

2003-11-18 02:29

But even with this, I think the problem will not be resolved. It will be for serveral requests generating reports, but let's say I'm generating one big report (of 200 MB pdf). Will Jasper use Ram Memory to generate the file, and only when it finishes will it save to disk ?

If this is true, I think we have a problem.

 

 

Thanks

John

 

 

 

 

By: Giulio Toffoli - gt78

RE: Filling a Report

2003-11-18 12:34

..this is true because prior to export, the print class (that contains all the report) is generated.

 

But you should adopt some different policy for

a similar print... what is the sense to generate a

single 200Mb report? Why you can not split into

differents prints and join pdfs later?

 

Giulio

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