Page 1 of 1

Managing large reports

Posted: Wed Jun 13, 2007 7:38 am
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?

Managing large reports

Posted: Wed Jun 13, 2007 9:25 am
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.