Jump to content
We've recently updated our Privacy Statement, available here ×

Recommended Posts

Hello,

Our web site uses JasperReports library to run some basic reports.  We've notice that on some occasions when larger volumes of reports are run our tomcat6 server comes to a grinding halt and requires a restart.  After eliminating some other sections of our site as being the issue our next stop was Jasper.  I created a load test and profiled a run of 500 reports and immediately noticed that there seemed to be memory leak (see image of surviving generations).  Is this a know issue in Jasper?  If not; how could my implementation cause a leak?  What other information can I provide?jasper_mem(1).png.c3de9d9a1f87b8fd4e041cb6e992ef42.png

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

There's nothing much anyone could say given the provided information.

Ideally a heap dump would allow us to see what leaks.  But memory dumps are large and include sensitive information.  Alternatively, a self contained test case to reproduce the behaviour would clarify what happens.  Progressive heap histograms might also yield some clues.

Regards,

Lucian

Link to comment
Share on other sites

  • 1 month later...

Hello, I've  seen the same behavoir and have been trying to resolve for some time now. Others have been reporting this also

All of my profiling  highlights the biggest dominators as the Extensions.ExtensionEnvironment class and it's references to SpringExtensionRegistry, through the use of Hard References in its implementation of apache's Reference Map.

This is easily reproducible. I have a couple of reports that are executed over and over. Using your favourite profiler, do a memory profile and you'll clearly see the problem.

This has been reported way back to version 4x

Hope someone can help out here, in an enterprise environment where systems must be resilient this will never fly.

 

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...