Starting memory allocation for JVM.
Posted
by C. Ross
on Stack Overflow
See other posts from Stack Overflow
or by C. Ross
Published on 2010-04-29T17:46:51Z
Indexed on
2010/04/29
17:57 UTC
Read the original article
Hit count: 451
I'm beginning use the -Xmx
option on the java
command to allow my processes to use a little more memory (256Mb, though I think I'm currently using less than 128Mb). I've also noticed the -Xms
option for starting memory, with a default value of 2Mb. What should I set this value to and why?
© Stack Overflow or respective owner