Hi Konstantin,
we’re trying to export a list of 20000 filtered entities from a screen (impementing DataGridPrintFormAction similar to TablePrintFormAction) but using report with xls(x) output we get the error : OutOfMemory.
How can we do that?
Thanks
Hi,
Could you share the whole Exception?
Where is your application deployed? Do you start the application in Studio?
By default Studio sets CATALINA_OPTS=-Xmx512m. Try to increase that value in tomcat/bin/setenv.bat - probably this could help. “External” Tomcat could also be tuned using setenv.bat.
Maybe standard ExcelAction is also appropriate for you. Did you try it? Probably it consumes less memory than report.
I don’t see anything wrong in your code, so the problem is probably in the report generation process. We already have some issues registered about poor performance and memory consumption by XLSX/DOCX report, see