
jasperreports server v 5.6.0
Installed via the install script using the packaged tomcat, java, sql database.
jvm opts: -Xms1024m -Xmx2048m -XX:PermSize=32m -XX:MaxPermSize=512m -Xss2m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true
I'm trying to request the same report 5-10 thousand times passing in different report parameters on each iteration. A request for the next report is only made after the current report has finished. Typically the report will be 1-2 pages.
i.e http://localhost:8080/jasperserver/rest_v2/reports/reports/myreport.jrprint?param1=[a value]
initial the reports are returned successfully, then more slowly, until the jvm crashed.
A heap dump reveals that com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl is consuming the majority of the heap.
It appears that the executions attribute of RunReportServiceImpl is retaining past com.jaspersoft.jasperserver.remote.services.ReportExecution objects.
The ExecutionStatus of past ReportExecution objects is "ready".
Any feedback would be appreciated, maybe there is something I'm missing that will allow these old ReportExecutions to be released and I have overlooked.
Thank you.

Recommended Comments