Page 1 of 1

Error generating report large (buffer overflow)

Posted: Wed Feb 03, 2010 5:32 am
by Guilherme Ferrari Junior
http://img203.imageshack.us/img203/867/errom.png

When generating a report as a large number of page generates the error below after 5 minutes of processing.

:sweat: :waaaht:

Error generating report large (buffer overflow)

Posted: Wed Feb 03, 2010 7:19 am
by Edward
Hi,

Huge amount of pages in a web reports can lead to the lack of server memory. More than 300 pages is a very big report for Web. It could take around 300...500Mb of the ASP.NET server memory and even more if there are images in the report pages. The server itself does not provide such amount of memory for the process and rendering can be interrupted. There is only one decision. It is to split big report into some smaller ones.

You also could use dialogue forms and parameters to create reports no so big.

Thank you.

Error generating report large (buffer overflow)

Posted: Wed Feb 03, 2010 8:14 am
by Guilherme Ferrari Junior
More because when I generate the report in pdf, no error occurs. The following code below.

------
StiReport report = ReportSource;
report.RegData(ReportData);
Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf(this, report, false);
--------

Error generating report large (buffer overflow)

Posted: Fri Feb 05, 2010 3:52 am
by Edward
Hi Guilherme Ferrari Junior,

In that case report will not be saved in the page cache for later rendering.

Thank you.

Error generating report large (buffer overflow)

Posted: Fri Feb 05, 2010 12:19 pm
by Guilherme Ferrari Junior
What is the difference to generate the report in page or in pdf ?????

You can display Memory overflow occurs, generating the report in pdf ??????

:boom:

Error generating report large (buffer overflow)

Posted: Fri Feb 05, 2010 2:03 pm
by Edward
Hi Guilherme Ferrari Junior,

We used that fact to allow pdf generated for huge reports. Unfortunately the same technique will not work for web page.

Please reduce your report, sorry there is no other way.

Thank you.