Out of Memory Exception
Posted: Tue Apr 25, 2017 8:01 am
Hi,
I am running into an out of memory exception when attempting to render a rather large report (more than 2128 pages). I thought I had fixed this issue by using the following:
... but then the size of the report increased due to a data fix. And now I am back to seeing this out of memory exception. Tweaking the numbers is making little difference.
Is anyone able to help?
I am running into an out of memory exception when attempting to render a rather large report (more than 2128 pages). I thought I had fixed this issue by using the following:
Code: Select all
StiOptions.Engine.ReportCache.AmountOfProcessedPagesForStartGCCollect = 20;
StiOptions.Engine.ReportCache.AllowGCCollect = true;
StiOptions.Engine.ReportCache.AmountOfQuickAccessPages = 50;
StiOptions.Engine.ReportCache.LimitForStartUsingCache = 100;
report.ReportCacheMode = StiReportCacheMode.On;
report.CacheAllData = true;
report.Render(true);
reportStiViewerControl.Report = report;
Is anyone able to help?