Memory consumption

Stimulsoft Reports.JS discussion
Post Reply
djjoyro
Posts: 39
Joined: Tue Apr 05, 2011 4:50 am
Location: România

Memory consumption

Post by djjoyro »

Hello,

I'm rendering reports on server side in node.js.
I have huge reports, with 500 pages, with crossTab component.
In one example, after report.renderAsync2(), the memory used for the report is about 1.23 GB. I need to save the report to the database, so I'm using report.savePackedDocumentToByteArray().
After this operation, the used memory jumps to about 3.16 GB.

For bigger reports I'm getting out of memory error.

Is there something I can do to improve this ?

Thank you.
Lech Kulikowski
Posts: 7292
Joined: Tue Mar 20, 2018 5:34 am

Re: Memory consumption

Post by Lech Kulikowski »

Hello,

You can split reports on several parts, render it and then merge into one.

Thank you.
Post Reply