Please explain the use of Xms and Xmx parameters in JVMs. What are the default values for them?
Xms
Xmx
You can specify it in your IDE. For example, for Eclipse in Run Configurations → VM arguments. You can enter -Xmx800m -Xms500m as
-Xmx800m -Xms500m