-Xms20m 堆内存初始值
-Xmx20m 堆内存最大值
-XX:+HeapDumpOnOutOfMemoryError 内存溢出Dump当前内存缓存快照
-Xlog:gc* //打印jvm内存日志
-Xss128k 栈溢出
-Xlog:gc* //打印jvm内存日志
-XX:PermSize=10M 永久代 (JDK 1.6之前有效)
-XX:MaxPermSize=10M (JDK 1.6之前有效)
-Xlog:gc* //打印jvm内存日志
-XX:PermSize=10M 永久代 (JDK 1.6之前有效)
-XX:MaxPermSize=10M (JDK 1.6之前有效)
-Xlog:gc* //打印jvm内存日志
-Xmx20m 堆内存最大值
-XX:MaxDirectMemorySize=10M 本机直接内存最大值
-Xlog:gc* //打印jvm内存日志
-XX:+HeapDumpOnOutOfMemoryError 内存溢出Dump当前内存缓存快照