How can I get Jira running using less memory

I would deary love to use Jira in my new job, but when I installed it onto the only server I have available, it filled the memory and ground to a halt.

I only have available a Windows 2008 server with 1Gb RAM, of which at least half is already in use. Is there any suggestions you have for getting Jira running well on a machine with not much memory?

3 answers

1 accepted

0 votes
Accepted answer

You are going to have problems. Use an off-machine database for a start, install no plugins, create minimal users and projects. You can tune the various memory heaps, run jvisualvm on the box.

Assuming a 32bit OS, so your JVM will be a 32 bit also, 64bit Java in your situation doesnt work.

If you can get JIRA running at all, I'd suggest locking the RAM into the VM by setting -Xms and -Xmx the same, ie min/max window is XXXX then, arbitrary processes can soak up more and _they_ will fail rather than JIRA.

When Andy says "minimal users and projects", he really does mean it - you'll struggle with more than 3 or 4 users and 10 projects.

Seriously, get more memory!

Yep, I have most atlassian apps running in VMs for dev/test/etc, they are all 32bit linux, 32bit JVM, all have colocated database (Postgres), all are at between 1024 and 1700MB, and all are 'minimal'...

Hi, windows Server 2008 would be using a lot of the memory. Minimal stripped down of Linux, e.g. Debian can run using <64MB of RAM and leave the rest for applications. 32bit JVM as said.

You can probably get away with less than 1GB and run fine for many users (however usually 1GB would be the minimum). Try to tune the JVM. Use -XX:-UseSerialGC instead of the parallel version. Use the latest version of JIRA that you can and ensure you use the latest Java 7 if possible.

Thanks for the replies. The server is a hosted VM, and is the only place I have available, but we also run our own software off it for demo purposes, so I don't want to restrict the amount of RAM that has available to it.

I guess I'll have to look at the cost of increasing the memory on there.

Thanks again.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,649 views 18 21
Read article

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