1
gadfly3173 2022-03-14 15:36:14 +08:00
Xmx Xms 配置的只是 jvm 的堆栈大小,不存在直接配置占用物理内存大小的方法
|
2
gadfly3173 2022-03-14 15:37:51 +08:00
> Note that the JVM uses more memory than just the heap. For example Java methods, thread stacks and native handles are allocated in memory separate from the heap, as well as JVM internal data structures.
https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/garbage_collect.html |
3
2K OP @gadfly3173 好的,谢谢!另想问一下,打开 idea 就直接占用物理内存两三个 G ,要是开启服务的话,每个服务也要占用一两个 G ,mac 就感觉有点卡顿了,这种是正常的情况吗?
|
4
makaflow 2022-04-14 16:15:57 +08:00
我感觉正常 JB 家的软件吃内存 我的 pycharm 4-5G 的占用
|