It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA - out of Memory issue!

Neeraj Tiwari Sep 27, 2012

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
Answer accepted
Matthew Cobby Sep 27, 2012

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

0 votes

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

Neeraj Tiwari Oct 14, 2012

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

998 views 0 13
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you