How to automate Garbage collector in Jira 4.0??

Hi All,

We have one Jira instance that is automatically going in to down state if the Memory is fully used by JVM,

So we need to restart that instace per day , when i go to "System Info" Option to my Jira instance i found that the Memory Graph is fully red and Free Memory is only 10 Mb then i need to force Garbage collector to free up some memory but this is not good, So pleasec can anyone tell me that How to automate garbage collector to run automatically in Jira??

1 answer

1 accepted

Garbage Collector runs automatically in any JVM. That's the idea.

However, you can tune your JVM (this including increasing your heap size).

A good article is this one

its ok Radu, but why my memory graph is used 100% by the Jira and why my Jira is going to down state??

That's a complex question. It does sound like you need to do some memory tuning, but there's no way to tell why you're using all the memory without a LOT more detail. It's most likely to be that your installation is pretty close to being maxed out and you need to give it more working memory. But don't quote me on that, it really is a guess. We'd need to know your current memory parameters, version of Jira, details on how you are using it, version of java to get started.

As Nic explained, the "why" question is hard to answer without more information. Describing the actions you took to resolve (temporary) your problem does not help us to give you a correct diagnosis. In other words, *you* must understand first what's going on there.

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

119 views 2 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot