Often suggested by whom?
I never use -Xms. I take the view that my forcing a minimum size I may very well be using more memory than I need - I just let the VM grow it up to -Xmx if it needs. Also, managing the heap takes time and effort, so by not arbitrarily forcing it to be too big, you save a small amount of CPU time.
> Often suggested by whom?
e.g from http://www.caucho.com/resin-3.1/doc/jvm-tuning.xtp
"It is good practice with server-side Java applications like Resin to set the minimum -Xms and maximum -Xmx heap sizes to the same value."
Same suggestion i saw in Oracle and BEA documentations.
The only benefit of such configuration I know is faster startup on application that use almost all provided memory.
I was wondering are there another benefits?
Regards,
Vitaliy S