I have a fairly large report that we create and export to PDF. When the report gets to a certain size, we get a memory error. I've been trying to find ways to keep the memory usage down. I'm using version 3.4.0.2027 and tried using CacheToDisk. I can see the temp files being created in IsolatedStorage, but the memory usage continues to grow to over 1GB.
The report does contain images on each page that cannot be removed.
Any ideas?
Bill
Bill,
Does this report use subreports? Approximately how many pages is this report? Is this a web or windows application?
I am not using sub-reports but it does have embedded graphics that can change from page to page. There is also a bar code control on each page as well. This is running as a Windows Console app. The report is run several times each time the program is executed, based on different filter criteria. The full report will be output to a PDF file and smaller filtered reports will be exported to a text file.
Without using the the CacheToDisk property, the program may crash while I'm running the report. With CacheToDisk = True, it normally crashes during the PDF export.
I start running into problems when the number of letters is somewhere around 500 pages. Most days the reports is around 300 pages but can be as large as 900.