Error generating report large (buffer overflow)

Stimulsoft Reports.NET discussion
Post Reply
Guilherme Ferrari Junior
Posts: 11
Joined: Thu Dec 10, 2009 11:06 am
Location: Brasil

Error generating report large (buffer overflow)

Post 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:
_______________________________
Guilherme Ferrari Junior
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error generating report large (buffer overflow)

Post 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.
Guilherme Ferrari Junior
Posts: 11
Joined: Thu Dec 10, 2009 11:06 am
Location: Brasil

Error generating report large (buffer overflow)

Post 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);
--------
_______________________________
Guilherme Ferrari Junior
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error generating report large (buffer overflow)

Post by Edward »

Hi Guilherme Ferrari Junior,

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

Thank you.
Guilherme Ferrari Junior
Posts: 11
Joined: Thu Dec 10, 2009 11:06 am
Location: Brasil

Error generating report large (buffer overflow)

Post 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:
_______________________________
Guilherme Ferrari Junior
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error generating report large (buffer overflow)

Post 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.
Post Reply