[#4882] - BorderOffset memory leak on WAR hot redeploy

Category:
Bug report
Priority:
High
Status:
Resolved
Project: Severity:
Critical
Resolution:
Fixed
Component: Reproducibility:
Always
Assigned to:

Hi,

BorderOffset.threadInstance causes memory leak when the JasperReports are user in WAR, which is hot redeployed (JBoss, Tomcat).

A fix is attached.

AttachmentSize
File BorderOffset.java.diff959 bytes
xmedeko's picture
111
Joined: Sep 2 2010 - 2:00am
Last seen: 13 years 3 weeks ago

3 Comments:

#1

Hello,
a fix would be highly appreciated. We run in trouble after several (hot) redeployments.
Jasper is only one permgen-oom candidate but seems to be the final one that we cannot get rid of.

Best regards
Darius

#2

A resolution would be appreciated. Memory leaks cause unnecessary alerts when restarting but furthermore they cause/contribute to OutOfMemory situations which in some cases freeze applications.

#3
  • Resolution:Open» Fixed
  • Status:New» Resolved

Hi,

This particular issue related to border offset has beend fixed in JR 5.5.1:
http://sourceforge.net/p/jasperreports/code/ci/ea9056252a7f7c3f92ae004e9...

If you are using a later version and still have memory issues, please log separate tracker as the cause is for sure different than the one detailed here.

Thanks,
Teodor

Feedback
randomness