Confluence/Tomcat Tuning?

Hi,

I'm trying to install Confluence on a Linode 512 running Ubuntu 12.04 and it dies during the final web setup steps:

Out of memory: Kill process 2621 (java) score 902 or sacrifice child

Killed process 2621 (java) total-vm:2909188kB, anon-rss:437860kB, file-rss:0kB

I tried changing the memory settings in the setenv.sh file in the Confluence directory config file to:

JAVA_OPTS="-Xms256m -Xmx256m -XX:MaxPermSize=256m…

But I'm just stabbing in the dark without really knowing what I'm doing. A google search finds either people saying they also can't get it to work, or people saying they got it to work by tuning the parameters, but they didn't say how they did it.

  • My install is plain Ubuntu 12.04 64 bit

  • I updated the packages

  • Installed postgres

  • Uploaded and ran the Confluence installer

  • Once that completed I accessed the install via the web browser to finish installation by web

  • It dies between the database and content setup screens with the out of memory message

If anybody successfully installed Confluence into a Linode 512 I would be grateful to know any tips for getting it to work.

Thanks for your time,

Brett

2 Replies

According to the Confluence Confluence, the minimum supported RAM for Confluence alone is 512 MB. So, you'll want at least a Linode 1024 if you're going to run anything other than Confluence, such as PostgreSQL.

Hi hoopycat,

Ack, I missed the "minimum heap size to allocate to Confluence is 512mb" when looking at that page.

Thanks for taking time to reply.

Cheers,

Brett

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct