Everytime someone runs out of memory in
java, the people advise to set -Xmx and -Xms to an amount of memory.
I know how this work, but the people allways say to use the same amount in Xmx and Xms like -Xmx256 -Xms256.
Why setting the two paraemters the same ammount is better?
Whats the disadvantage of doing something like this -Xms128 -Xmx256?
Thanks