1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Update jvm-parameters-intro.md

This commit is contained in:
paigeman 2023-06-26 11:29:03 +08:00 committed by GitHub
parent 79ee37eb29
commit 6fd0ce9fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ tag:
```
- **heap size** 表示要初始化内存的具体大小。
- **unit** 表示要初始化内存的单位。单位为**_“ g”_** (GB)、**_“ m”_**MB、**_“ k”_**KB
- **unit** 表示要初始化内存的单位。单位为 **_“ g”_** (GB)、**_“ m”_**MB、**_“ k”_**KB
举个栗子 🌰,如果我们要为 JVM 分配最小 2 GB 和最大 5 GB 的堆内存大小,我们的参数应该这样来写: