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

Accepted Answer
2 votes

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
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

419 views 7 5
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