Forums

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

Free disk space error & low free memory warning

Hansun YANG May 2, 2020

I have just installed confluence on my Linux Server having 3GB of memory and 20GB of disk space. Only one add-on: EasyMind. 

Somehow I checked logs and saw the low-memory warning and free-disk-space error. Isn't each 3GB and 20GB enough for memory and disk space?

Do I have to add more memory and disk space? or Do I have to edit some configuration file? How?

 

Please help

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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 2, 2020

3Gb memory and 20Gb disk can be enough for a smaller Jira, but you'll need to look at each warning individually to work out if ir really might be a problem.

Hansun YANG May 2, 2020

thanks for your reply. Do you think there is any Java VM configuration page to increase memory or something on confluence? 

Nic Brough -Adaptavist-
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, 2020

No, inside the application is too late, as to get it to run, you must have allocated the memory.

You need to edit the setenv.sh or setenv.bat file that sets the memory allocation on start up.

Hansun YANG May 3, 2020

Thank you so much for your advice, Nic_Brough. Actually, I checked with set.env.sh but could not find any memory setting parts. Maybe I don't have enough knowledge about it. Confluence server doesn't seem to be easy to handle. 

Nic Brough -Adaptavist-
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, 2020

The most important one in the setenv files is -Xmx - that's the maximum memory for the heap.  You should find it followed with a number (for example -Xmx1024m) - increase the number to give the process more heap space

Hansun YANG May 3, 2020

Wow, it works! I edited both .sh and .bat files and rebooted. Memory sizes got bigger as I set! 

Great!

 

Thanks Nic_Brough

Nic Brough -Adaptavist-
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, 2020

Glad to help.

On a technical note, you only need to edit one of the two setenv.something files as only one of them ever runs.  The .sh is run when your server is a Unix-like machine, and the .bat is only for Windows. 

But I tend to edit them both too, just to keep them consistent and in case someone decides to move their Jira to the other platform.

Hansun YANG May 3, 2020

O-ho, I got it. thanks a lot!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events