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?

Rahul

1 answer

1 accepted

1 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

151 views 4 7
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