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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.