A small Confluence installation on a 512MB virtual server - possible?

I need a small Confluence with few simultaneous users, so I've subscribed to a cheap Ubuntu virtual server with 512 MB ram at alvotech.de and installed Confluence onto it. Now, my problem is that Confluence keeps hogging 4-500 MB of memory, which ultimately crashes the server as soon as it's put under just a little bit of pressure.

To reduce its memory usage I've tried two things (simultaneously):

1) Halved the allowed sizes in JAVA_OPTS so that it's now:

-Xms128m -Xmx256m -XX:MaxPermSize=128m

2) Tried to disable caching by setting, in ehcache.xml:

maxElementsInMemory="0"

Neither has any effect on memory usage - it's still around 4-500 MB.

Am I way off track here? Should I give up and buy myself a larger, non-virtual server? Or is it possible to get the memory usage below 512 MB?

3 answers

1 accepted

Hello Kristian,

Virtualisation is not a problem at all. We run several instances of Atlassian products on virtual Linux servers. The problem as I see it is the amount of memory your virtual server has. Confluence alone needs 512 MB as a minimum.

Have you considered signing-up for Confluence OnDemand instead? Starting at USD 10.-- it is probably cheaper than your hosted Linux server and you don't have to worry about anything (Updates, security-fixes, etc.) at all.

Cheers,

Thomas

1 vote

Very unlikely to work with 512MB. Confluence needs more memory with all the plugins it has now. I suggest you try 1GB (atleast!)!

Check the swapfile on server.

Make swapfile 1G (or extend swap partition).

It should be enough for work 1-2 users, but slow enough.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

900 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you