1
gadfly3173 Mar 14, 2022
Xmx Xms 配置的只是 jvm 的堆栈大小,不存在直接配置占用物理内存大小的方法
|
2
gadfly3173 Mar 14, 2022
> 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 Apr 14, 2022
我感觉正常 JB 家的软件吃内存 我的 pycharm 4-5G 的占用
|