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?