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

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 3, 2014

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

3 votes
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 26, 2017

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.

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2017

thanks Andrew..for your response...

Suggest an answer

Log in or Sign up to answer