JVM Parameters

来源:互联网 发布:照片自动修复软件 编辑:程序博客网 时间:2024/04/29 05:09
-Xms and -Xmx
The flag Xmx is maximum memory allocation pool, while Xms is the initial memory allocation pool.
XX:PermSize:
The permanent space is where are stored the class, methods, internalized strings, and similar objects used by the VM and never deallocated.
Example:
XX:PermSize=128m
XX:MaxPermSize=256M
-Xms256m -Xmx512m
0 0
原创粉丝点击