1、Eclipse workbench
To install GCMV from the Eclipse Marketplace:
- Search for 'GCMV' in the Eclipse Marketplace.
- Use the GCMV Eclipse Update site.
- Garbage Collection and Memory Visualizer is listed under the category IBM Runtime Monitoring and Diagnostic Tools
- Open the GCMV perspective to get started
链接:http://www.ibm.com/developerworks/java/jdk/tools/gcmv/
垃圾对象太多,来不及回收啊