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
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events