I need help finding my memory leak using MAT

后端 未结 1 872
梦毁少年i
梦毁少年i 2021-01-05 05:30

I\'m using the MAT to compare two heap dumps. I\'ve been taking a heap dump each day and it\'s growing by about 200 megs each day. I think the leak is associated with java.u

相关标签:
1条回答
  • 2021-01-05 06:16

    Sean's comment put me on the correct track. I'm using Glassfish v 2.0 and it has a memory leak. It continually creates new LogManagers and adds them to the ApplicationShutdownHooks collection.

    I worked around the issue by cracking open the ApplicationShutdownHooks and manually removing the objects from the collection.

    0 讨论(0)
提交回复
热议问题