-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
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/638844/viewspace-775412/
,如需转载,请注明出处,否则将追究法律责任。