title: Is there any advantage in setting Xms and Xmx to the same value?
body: <p>Usually I set <code>-Xms512m</code> and <code>-Xmx1g</code> so that when JVM starts it allocates 512MB and gradually increases heap to 1GB as necessary. But I see these values set to same say <code>1g</code> in a dedicated server instance. Is there any advantage for the having both set to the same value?</p>