Java – how to interpret the analysis results?

I used NetBeans and visualvm to run the memory profiler and received the results, but there was no clue how to analyze the results. I studied this article, but it did not teach or give clues on how to interpret the results

I also found the explanation result of this article about NetBeans 4, but I am looking for an article with more details or a method to explain the following results to learn

Solution

There is not much information in the telemetry map pasted in your question

What is the message

>Your program has been monitored for about 3 minutes > your heap utilization is slightly less than 200MB (nothing special) > you have about 90 threads (this must be an application server) > you spend less than 5% on average in GC (normal)

I bet the jagged pattern transmitted in the memory display is your program startup - otherwise, why do things seem to smooth out others at the last minute or so Is your application under any load within 3 minutes of your question?

As a starting point, when your program is making some major improvements, I'll look at how much time your program spends in GC (relative time in GC) If it exceeds 5%, you can consider adjusting the heap or further mining to determine where the allocation occurs

Next I will look for a bottleneck Find out where your application is most of the time and see if you can optimize the code in some way

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>