Home
Analytics
Memory Leak in DataEngine
sarnold
<p>The Problem:</p><p>We are using Birt v4.2.1a for generating reports in a website on a long-lived application. We have found a problem that exists in the JDK with the method file.deleteOnExit(). This method will leak memory when used if you are cleaning up temp files normally. Every time this method is called it registers the full path to the file in an array that lives until the application is shutdown. This causes leaking on long lived applications and can lead to poor performance and eventually out of memory errors.</p><p> </p><p>The Solution:</p><p>In order for Birt to be a viable solution for our product, we need Birt to be modified to stop leaking memory by cleaning up after the temp files instead of relying on the JVM to do it. The fix would require the necessary cleanup code being added and the removal of the calls to file.deleteOnExit().</p><p> </p><p>This is a very data intensive site for a high profile client and we would really appreciate your help in this area.</p><p> </p><p>Thank You,</p><p>Steve</p>
Find more posts tagged with
Comments
mwilliams
Not that anything has definitely changed, but have you tried this in BIRT 4.3.2? If you try it and the leak still exists, please log a bug for this in the bugzilla at eclipse.org/birt.