xmmxmnxmx
xmm, xmn, and xmx are abbreviations used to refer to three different types of memory management modes in Java Virtual Machine (JVM):
-
xmm: This stands for "Xms (Minimum) Memory". It is the amount of memory allocated to the JVM when it starts up. The default value is 1/64th of the total physical memory available on the system.
-
xmn: This stands for "New Generation Memory". It is the amount of memory allocated to the young generation of objects in the JVM's heap. The default value is one-fourth of the total heap size.
-
xmx: This stands for "Xmx (Maximum) Memory". It is the maximum amount of memory that the JVM can use. The default value is one-fourth of the total physical memory available on the system or 1 GB, whichever is smaller.
These parameters can be set using command-line options when running a Java application. For example, to set the maximum heap size to 2 GB, you can use the following command:
java -Xmx2g MyApp
原文地址: https://www.cveoy.top/t/topic/0NQ 著作权归作者所有。请勿转载和采集!