Preview in Report Designer causes massive memory consumption

Stimulsoft Reports.WEB discussion
Post Reply
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

Preview in Report Designer causes massive memory consumption

Post 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!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Preview in Report Designer causes massive memory consump

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Preview in Report Designer causes massive memory consump

Post 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.
sbd_jeff
Posts: 27
Joined: Fri Nov 08, 2013 9:39 pm

Re: Preview in Report Designer causes massive memory consump

Post by sbd_jeff »

I will try the StopBeforePage approach.
Thank you!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Preview in Report Designer causes massive memory consump

Post by HighAley »

Hello.

Let us know if you need our help.

Thank you.
Post Reply