JIRA Memory Heap Size what values to use? jira slow!

Currently jira is starting with -XX:MaxPermSize=256m -Xms2048m -Xmx2048m values and we are experiencing EXTREME SLOWNESS in accessing jira and have to bounce it

Please let me know the recommended values to use?



Electric Cloud

Sunnyvale CA

5 answers

1 accepted

4 votes
Accepted answer

Hi, tuning JIRA and any Java web application isn't as simple as increasing the memory. I would definitely look at where the bottleneck is and why is it slowing down.

Was it fast before?

When did it started happening? Has anything changed? It could be a plugin.

Do you see any errors in the logs? Often performance issues are caused by certain errors.

Is the response time slow or the page loading speed?

What version of Java are you running? It might be a good idea to update it to the latest that your version of JIRA supports.

Have you optimized you instance such as turning on compression and caching?

Is it the database or the hardware that is having issues here? Metrics need to be collected.

Before you take in any advice from here -- check out what the problem is. Any random changes could make matters worse.

+1 to Harry. Increasing the memory without proper reason will likely create more harm than good. You will need to find out what is the culprit of the performance behaviour.

As a general guideline, you may refer to the following pages:

Performance Issues Troubleshooting

JIRA Performance Tuning

Are you running 32 bit or 64 bit version of jira? We are running 64 bit and use 1024m for xms and xmx. Please do reindexing.

ok. How big is your RAM

I am guessing it is 64 bit as the linux is 64 bit

3.7 GB? Then 1024m will be ok for you. Higher values will slow down yo

Heap memory size is a bit counter-intuitive.

The rule of thumb is to reduce it until you get "out of memory" messages and increase it a trifle.

If you increase the heap size too much then "Garbage Collection" can take too long and you may see the slowness you are referring to.

Having said that there are plenty of other factors that could be responsible.

Like the OP, I have no trouble running at 1024

the ram is 3.7 gigs

In our case we do NOT want to increase the heap memory but to reduce it as high memory will slow it down I just need recommended values

seems okay now changed parameters to -XX:MaxPermSize=256m -Xms1024m -Xmx1024m

modified parameters working fine

Does the value for 'initial Memory Pool' and 'Maximum Memory Pool' in the Java settings should be same ?

Same say it matters. Same say otherwise. You'll have to benchmark it. I've seen huge variances. It doesn't have to be.

Suggest an answer

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

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,310 views 5 11
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