Why is it important to have xms and xmx value as same?

Hi Guys

I remember someone tell me to set xmx and xms value as same. i.e. xmx=xms=2048.

Can anyone please tell me why is this important. We run JIRA as a service on windows, JIRA 6.1,1200 users, 120K issues

My current configurations are Xmx =2048 Xms=512 Max Perm Size=384.

Will updating my Xms=Xmx improve performance?


1 answer

1 accepted

2 votes
Accepted answer

According to the Oracle JVM Tuning guide: https://docs.oracle.com/cd/E40972_01/doc.70/e40973/cnf_jvmgc.htm#autoId2

setting the xms to be the same as the xmx will prevent pauses caused by heap expansion.  In turn it can help prevent performance issues within JIRA while waiting for JAVA to deal with memory allocation changes.

thanks Andrew..for your response...

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,098 views 4 9
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