Xmx2g -Xms2g -Xmn1g java8
时间: 2023-11-24 14:15:11 浏览: 65
These are Java Virtual Machine (JVM) parameters that specify the memory allocation for a Java process.
-Xmx2g: This sets the maximum heap size for the JVM to 2 gigabytes (GB). The heap is where Java objects are stored, and this parameter limits the amount of memory the JVM can allocate for object storage.
-Xms2g: This sets the initial heap size for the JVM to 2 GB. This means that when the JVM starts, it will allocate 2 GB of memory for the heap.
-Xmn1g: This sets the size of the young generation (Eden and Survivor spaces) to 1 GB. The young generation is where new objects are created, and this parameter limits the amount of memory that can be used for this purpose.
java8: This specifies the version of Java to use, in this case Java 8.
相关推荐
![application/x-zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![text/html](https://img-home.csdnimg.cn/images/20210720083451.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)