WedjaaOpen / ElasticJasperServer

Jaspersoft Server extension for ElasticJasper - the Jasper Reports ElasticSearch plugin.
Apache License 2.0
4 stars 9 forks source link

Memory Leak ? #8

Open bcaillabet opened 7 years ago

bcaillabet commented 7 years ago

Hi,

I designed a report with the ElasticJasper connector. I use both ElasticJasper and ElasticJasperServer. My report is about 40 pages with simple requests . When jasperserver build the report, memory usage is increasing normally but not released when the report is generated .

I must restart jasperserver for each generation. The problem seems to be present on both ElasticJasper and ElasticJasperServer.

Benoît

Wedjaa commented 7 years ago

Leave the server running - JVM will perform a GC (garbage collection) when it needs more memory. Let me know if running multiple times the report you get an OOM error - that would indicate something wrong with object disposal.

bcaillabet commented 7 years ago

Yes running multiple times the report in jasper server finish with this :

Error Message java.lang.OutOfMemoryError: Direct buffer memory

here is the full trace : OEMtrace.txt