Managing large reports

Stimulsoft Reports.NET discussion
Post Reply
Kenneth Jonsson
Posts: 9
Joined: Wed Jun 13, 2007 7:20 am
Location: Sweden

Managing large reports

Post by Kenneth Jonsson »

My report could become wery large; > 2000 pages, depending on user selections. Are there any measures to take to reduce memory consumption? I could make the report manage data for a few pages at a time, but that would give me many Pdf files after export where I wish to have only one file. The report usally fails in export from memory exceptions.

I should actally like to do this:
start the export and create a pdf file
foreach item
export the item and append the pdf file
close the pdf export file

Should I reset the data set between render and export?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Managing large reports

Post by Edward »

In that case the report has additional property Report.ReportCacheMode = On. After fixed number of pages rendered, the report will cache them on hard drive and the report building will continue.

If Report.ReportCacheMode = Auto then after fixed number of the rendered pages this mode will be applied automatically.

Thank you.
Post Reply