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
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.
thanks for your reply. Do you think there is any Java VM configuration page to increase memory or something on confluence?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wow, it works! I edited both .sh and .bat files and rebooted. Memory sizes got bigger as I set!
Great!
Thanks Nic_Brough
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.