Page 1 of 1

Out of Memory Exception

Posted: Tue Apr 25, 2017 8:01 am
by Wicksy
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:

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;
... 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?

Re: Out of Memory Exception

Posted: Thu Apr 27, 2017 7:36 am
by Alex K.
Hello,

Please clarify which version are you use?
Also, please check the last version.

Thank you.