JIra taking up lot of memory

Hi All

I have got Windows server 2003 hosting my jira installation 5.0.

My problem is before i start up jira (as a service) the task manager shows 2.8 GB available memory however the moment i start-up the jira the available memory drops from 2.8 GB to 200 MB.

I am not sure y this is happening.

I have explicitly allocated a memory of 1 GB for this jira installation (using commands as mentioned in jira documentation for increasing jira memory)

I only have four plugins installed; jira charting plugin, jira misc workflow extensions, greenhopper and jira suite utilities.

Any idea what is causing this drastic drop in memory. It is often resulting in the jira abruptly shutting down due to memory running out.


2 answers

1 accepted

1 vote
Accepted answer

Sounds similar to https://answers.atlassian.com/questions/19437/why-are-atlassian-products-so-memory-hungry

Java apps have many memory pools, you have probably allocated 'one' of them to 1GB, there are others, though stretching that to another 1.2GB is a bit much. Where/what is your database (same box)?

If you monitor heap usage with JConsole you can track memory usage. If you eventually run into an OutOfMemory exception, that sounds like a memory leak from a plugin.

Monitoring your memory usage, combined with potentially disabling one plugin at a time is likely the best way to locate the cause.

Thanks Andy. I only observed this on test instance not on production. But the steps you mentioned is the right way to approach the problem


I would also suggest looking at Concurrent Mark-Sweep (CMS) Garbage Collector with incremental mode to be better tuned for web applications. See more Details on my comment in https://answers.atlassian.com/questions/22592/is-your-jira-instance-growing-above-200-000-issues

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,748 views 18 21
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