memory leaking when using Jira


We have an issue with memory leak when using Jira. It has such behavior: after restarting the virtual machine it works perfectly, but a day later it allocates all the available memory, gets into the swap and starts to work slowly. What should we do to solve this issue? We use the jira version 7.2.1 installed on our server Ubuntu 16.04.1 LTS. What other information should I provide?

2 answers

Are you using the JRE that came packaged with the JIRA installation tool? Use the JavaMelody Monitoring Plugin for JIRA:

This will help show you where you may be having issues. 

You may also not have enough JVM memory allocated to your JIRA instance. If you are working in a fairly large enterprise, using anything under 2GB allocated to your JIRA instance may cause serious performance issues. Instructions on how to increase your JVM memory:

0 votes

That can be a long and difficult thing to establish, but I would start with getting a thread trace after it starts to run slow, so you can get an idea of what is consuming all the memory.  Although I'd start with some logging changes to get more information dumped.

There are lots of docs on this, but I tend to start with , and (not so much about leaks, more about the crashing when leaks get too large, but the principles of investigation are still good)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 29, 2019 in Jira Software

Transforming Jira Software projects for general project management purposes

...It's true that there are projects in Jira; but they are merely a way to cut off issues, to tell them apart from other sections of work and to apply rules that are specific to that team (the schemes)....

183 views 0 6
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