Page 1 of 1

Memory consumption

Posted: Thu Nov 07, 2024 2:52 pm
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.

Re: Memory consumption

Posted: Thu Nov 07, 2024 9:23 pm
by Lech Kulikowski
Hello,

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

Thank you.