Community
Participate
Working Groups
Created attachment 233949 [details] Patch to ReportRunnable.java We have a use case where we generate lots of reports from the same design and we get frequent very long (15+ seconds) full GC's. On investigation we noticed these are caused by the collection of org.mozilla.javascript.gen.cXXX *classes*, of which an infinite amount seem to get generated. Upon further investigation, we found that org.eclipse.birt.report.engine.api.impl.ReportRunnable has a cache for compiled scripts (the cachedScripts property), which does not get used, because cloneRunnable does copy the reference of it. With the attached patch (adds 1 line to cloneRunnable: newRunnable.cachedScripts = cachedScripts;), our problem is solved.