In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about how to use the JVM memory tuning tool, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
1. Count the number of gc
Jstat-gc pid
Percentage of space used in Survivor space 0 zone on S0-Heap
Percentage of space used in Survivor space 1 zone on S1-Heap
Percentage of space used in the Eden space area on E-Heap
Percentage of space used in the Old space area on O-Heap
Percentage of space used in P-Perm space area
YGC-the number of times Young GC occurred since the application was started and sampled
Time spent by YGCT- from application startup to sampling Young GC (in seconds)
FGC-the number of times Full GC occurred since the application was started and sampled
Time spent by FGCT- from application startup to sampling Full GC (in seconds)
GCT-Total time spent on garbage collection from application startup to sampling (in seconds)
two。
Jmap-dump:format=b,file=heap.hprof pid
Print hprof file and analyze the information in jvm with the help of MemoryAnalyzer
After reading the above, do you have any further understanding of how to use the JVM memory tuning tool? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.