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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,313 views 14 20
Join discussion

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