Rendering and exporting issues

Stimulsoft Reports.JAVA discussion
Post Reply
simon ren
Posts: 106
Joined: Wed Nov 21, 2018 12:51 am

Rendering and exporting issues

Post by simon ren »

Hello,

I used the provided render() and export() methods in my Java code.

However, in the case of a large amount of data, the report will become very large after rendering, causing memory overflow during subsequent exports. Is there a method to solve the memory overflow problem by simultaneously rendering and exporting and releasing the already exported memory.

Or do you have any better suggestions to solve memory overflow caused by large amounts of data?
Vadim
Posts: 412
Joined: Tue Apr 23, 2013 11:23 am

Re: Rendering and exporting issues

Post by Vadim »

Здравствуйте

Вы можете включить кеширование опцией отчета ReportCacheMode
39.png
39.png (16.67 KiB) Viewed 32 times
При включенном кэшировании отчёт сокращает потребление памяти, сохраняя данные в файловой системе. Производительность экспорта может быть немного снижена из-за дополнительных операций чтения/записи, связанных с кэшированием.
Post Reply