MAT使用说明
本文包含了MAT的官方文档的翻译,以及MAT使用方法、分析经典案例。
官方介绍MAT的一些常用功能:
The
Eclipse Memory Analyzer
tool (MAT) is a fast and feature-rich heap dump analyzer that helps you find
memory leaks
and analyze high
memory consumption
issues.
With Memory Analyzer one can easily
find the biggest objects, as MAT provides reasonable accumulated size (retained size)
explore the object graph, both inbound and outbound references
compute paths from the garbage collector roots to interesting objects
find memory waste, like redundant String objects, empty collection objects, etc...
分析内存泄露,以及高内存消耗问题。