Page 1 of 1

Preview in Report Designer causes massive memory consumption

Posted: Mon Mar 07, 2016 9:21 pm
by sbd_jeff
Hi Stimulsoft,
We're currently on Stimulsoft 2014.1.1900.0.
I've noticed when users attempt to preview reports in the Flash based StiMvcDesigner that datasets with moderate size (greater than 5000 records) cause the application pool's memory consumption to soar.
We don't have these types of issues in Winforms or other areas.

I was curious if there is a way to limit how many records are returned or maybe render portions of the report (first five pages for example) so the application pool doesn't run into an eventual OutOfMemory exception.

Currently I have worked around this by inserting a SELECT TOP 500 into the query, but if there is a setting like described above I would rather use it.

Thanks!

Re: Preview in Report Designer causes massive memory consump

Posted: Wed Mar 09, 2016 7:04 am
by Alex K.
Hello,

Please check the last version and let us know about the result.
We made some improvements and optimizations in that direction.

Thank you.

Re: Preview in Report Designer causes massive memory consump

Posted: Wed Mar 09, 2016 8:01 am
by HighAley
Hello.

The browser and Flash player impose some restrictions on report size.
Also there is a limit of time that script can run.
Did you try to use Stop Before Page property of the report?
The rendering process will be stopped when specified number of pages will be rendered.

Thank you.

Re: Preview in Report Designer causes massive memory consump

Posted: Thu Apr 14, 2016 7:22 pm
by sbd_jeff
I will try the StopBeforePage approach.
Thank you!

Re: Preview in Report Designer causes massive memory consump

Posted: Fri Apr 15, 2016 1:01 pm
by HighAley
Hello.

Let us know if you need our help.

Thank you.