Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Heap memory usage monitoring

Andrii Striletskyi March 7, 2019

Hello guys. How you monitor heap size usage, for instance for Confluence. Currently we monitor using standart way by retrieving this data from Linux (screen attached) , but there are differences in Confluence System info and in Linux (because as I known there are some metadata etc). How we can correctly monitor It?

confluence11.png

1 answer

1 vote
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2019

Hey Andrii,

Check out the recommendations in this recent Community thread! In short you want to run an agent inside the JVM itself to give you an idea of the heap allocation between different generations - the thread goes over several options of services to do that.

It's worth noting that the method you see using top doesn't accurately show you what's really going on in the application. The JVM will grab as much memory as it needs from the operating system and then generally not release it. The minimum heap value also comes into play when looking at the output in top. As a rule of thumb, we recommend setting the minimum and maximum heap values to the same size.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events