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

Why JRVerticalFiller consume almost all my memory?


igordmitriev7

Recommended Posts

Hi there. I noticed that my application is slow. I've decided to analyze GC logs and Heap dump. All of a sudden I got this:

leak_suspects(2).png.e7751b6da2e2bb2f14b8a9b17f2f2b77.png

It starts from TaskThread which holds JRVerticalFiller, that one holds JasperPrint, from JasperPrint hand - Collections.synchronizedList(pages), these objects are JRTemplatePrintText.

Here is a gc roots from TaskThread to Object[] (this Object[] in ArrayList)

ScreenShot2016-08-26at00_26_55(2).png.232ad73ac9f35b8e1dc6e933be252d83.png

NOTE: I am using JRGzipVizualizer.

Actually I don't understand why TaskThread is still alive and why so many objects are created.

JRVerticalFiller took 3.6GB of 4GB heap memory.

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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...