We have increased our JVM memory to 742 mb. After a couple of weeks of activity it starts to lose memory and sticks at around 15% available memory and does not increase even after forcing a garbage collection. The only thing to resolve this is to restart the JIRA service. Is this a normal practice? Should we be making a habit of restarting the JIRA service from time to time to prevent a memory leak with the JIRA JVM? Or is the recommendation to bump the JVM memory up even higher?

3 answers

0 votes

Depends on lot of things like your usage. How many issues, project, custom fields do you have? And also, how many plugins you have?

742MB is quite low and it won't hurt to make it to 1G. However all the parameters, together, decides the actual settings!

I have nearly the same amount for 'Total' and mine regularly sits around ~20% with no ill effects. Are you seeing slow downs or some other behaviour that is making you worried?

Generally I dont even bother to look at the JVM memory usuage stats unless there is something that is misbehaving in the logs.

FYI theres a neat Java Melody plugin that gives you ganglia like graphs for jira.

I would increase the memory to 1.5G and see how the performance is.

Thank you all for your helpful feedback!

@Jobin - we have roughly 35 projects each with atleast around 200 issues each. Roughly around 300 custom fields. Usage is heavy, we have around 200 user sessions at a time all throughout the day and roughly 650 user accounts in JIRA. And maybe around 15 custom and 3rd party plugins configured.

@Kenneth - Thank you for the plugin recommendation. There was an occasion where the available memory stuck around 2% and then completely froze and brought JIRA down. Yesterday when it was stuck around 15% I noticed a bit of degradation in the performance yesterday but nothing major. The logs looked fine.

Hmm well we have about 65 projects (with anywhere from 100 issues to 3k), just passed 1000 users, but our custom fields are about maybe ~35ish.

We have about six 3rd party plugins. Our usuage usually hangs around 400ish active HTTP sessions.

FYI we are running 4.4.1 with an eye to upgrade to 5 this monday.

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

44 views 0 4
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