![]() ![]() The memory used by the JVM is divided in two main logical sections, heap and non-heap: ![]() įor the sake of this blog post, the only necessary things to highlight are the following. If you only have time to read one, I would recommend starting with the Memory Calculator Google document. At the bottom of this post, there’s a list of the ones I found most useful for this research. I am probably the last person on the planet who should talk about JVM… Luckily there are a lot of informative articles out there. It’s not as practical to use as a simple shell script, but it shows a precise picture of the JVM instant memory usage, both in terms of heap and non-heap. ![]() It’s packaged as a JAR file, so it needs Java to work. It’s simple, easy to understand and provides the key memory numbers. However, now that I’ve had some more time to digest all the information, I believe the best tool is jvmtop. I made a small pull request to jps_stat, to be able to gather one-time statistics about our gameserver application memory. They were useful to gain a better understanding of how to measure memory usage. Initially we surveyed tools to gather JVM memory usage metrics. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |