JIRA - out of Memory issue!

Hello, attached, please find the JIRA logs. It clearly says at around 10: 02 AM today, JIRA went Out-of-Memory. I restarted JIRA and it is working fine now. Please see the logs and tell if there is any other issue that I might have missed...The memory assigned to JIRA right now is as follows:

Total Memory 768 MB

Free Memory 309 MB

Used Memory 459 MB

I am thinking to increase it to around 2 GB(in max memory memory pool) unless you guys have any other idea.

Thanks,

Neeraj

2 answers

1 accepted

0 votes
Accepted answer

The question is: what were you dong at 10:02? What services might have been running. It may not be necessary to go from 768Mb to 2Gb straight away. More memory comes with (GC) overhead

Hi Neeraj,

I wouldn't recommend that you increase the max memory pool that much because you can actually have problems if the Heap is too large, so instead I would recommend that you increase it by 256MB so that your max memory pool is 1024MB, (assuming that the Out-of-Memory Error is indeed related to the Heap Space). The other thing I would recommend is that you also set the min memory pool to 1024MB because if the min and max memory pools are the same size this will prevent memory address swapping and prevent the JVM from wasting resources resizing the Heap Space.

All the best,
John

Thank you for your response. I liked your idea about assigning the same size to the min and max memory pool.

Update: I have increased the max memory to 1.5 GB and since the last 2 weeks we have not faced any issue. The min memory is still 256 MB. Since we are not facing any OOM issues in JIRA currently, I won't touch it for now. Let me know what you think.

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,878 views 19 22
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