Memory leak in a Java web application

后端 未结 8 1761
借酒劲吻你
借酒劲吻你 2021-01-31 19:24

I have a Java web application running on Tomcat 7 that appears to have a memory leak. The average memory usage of the application increases linearly over time when under load (d

8条回答
  •  既然无缘
    2021-01-31 20:11

    Try to use MAT and make sure that when you parse the heapdump, do it not dropping out the unreachable objects.

    To do so, follow the tutorial here.

    Then you can run a simple Mem Leak Analysis (This is a good tutorial)

    That should quickly lead you to the root cause.

提交回复
热议问题