Forums

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

Confluence memory consumption slowly increasing - well above -Xmx spec

Marcus Kesper May 3, 2018

Our Confluence process is started with -Xmx4048m setting but actual memory consumption according to top is 5.8GB:

KiB Mem: 8199296 total, 7985528 used, 213768 free, 61360 buffers
KiB Swap: 0 total, 0 used, 0 free, 140896 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2837 confluen 20 0 7651m 5.8g 25m S 74 73.9 92090:48 java
3258 mysql 20 0 1063m 634m 3756 S 6 7.9 1554:31 mysqld
4041 confluen 20 0 2767m 900m 4576 S 0 11.2 503:38.02 java

Together with Synchrony and MySQL we'll soon reach 100% memory (8GB). According to Confluence System Information, only about 2.5GB of 4GB allocated memory is used. What are the recommendations in such a case? Reduce -Xmx or increase server memory?

1 answer

0 votes
Roman Kirilenko
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 3, 2018

It's actually OK that java machine consumes more memory than specified in -Xmx setting. You have to choose between increasing server memory and decreasing the heap size based on your server load and your instance size.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events