Memory leak in a Java web application

后端 未结 8 1769
借酒劲吻你
借酒劲吻你 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 19:54

    I would suggest to use memoryAnalyzer for analyzing your heap, it gives far more information.
    http://www.eclipse.org/mat/ there is a standalone application and eclipse embedded one. you just need to run jmap on your application and analyze the result with this.

提交回复
热议问题