Two JVM options are often used to tune JVM heap size: -Xmx for maximum heap size, and -Xms for initial heap size. Here are some common mistakes I have seen when using them:
* Missing m, M, g or G at the end (they are case insensitive). For example,
[...]
Archive for June 2nd, 2009
6 Common Errors in Setting Java Heap Size
Posted in JAVA on June 2, 2009 | Leave a Comment »