观察gc之后堆大小的图,可以看到程序内存使用的趋势。
By looking at the graph of heap size after GC, you can see the trend of your program's memory usage.
对这种类型的内存泄漏情况,分析短时间内获取的堆转储(heap dump)非常重要,这样可以观察正在快速减少的可用内存。
For this type of memory leak case, it is important to analyze a heap dump taken within the short span of time the free memory is observed to be dropping quickly.
应用推荐