How much memory does jProfiler need to analyze a heap dump of size X?

孤者浪人 提交于 2019-12-24 05:38:07

问题


I have a heap size of X (= 5 giga bytes). How much should I allocate for jprofiler to efficiently analyze this heap?


回答1:


I would recommend using Eclipse MAT to view the heap dump. It does a much better job in terms of memory requirements for a heap dump of size X because it creates intermediate index files on disk instead of sucking up the whole thing into it's own memory. Most tools require some multiple N of X to open the heap dump where N is usually >= 2. Also, make sure to start the Java process that runs MAT or JProfiler in 64-bit if you're going to give them more than 2g of memory.



来源:https://stackoverflow.com/questions/2064456/how-much-memory-does-jprofiler-need-to-analyze-a-heap-dump-of-size-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!