A simple “Hello World” needs 10G virtual memory on a 64-bit machine vs 1G at 32-bit?

前端 未结 7 1495
有刺的猬
有刺的猬 2021-02-02 05:33

Running a simple Java program on our production machine, I noticed that this program eats up more 10G virt. I know that virtual memory is not that relevant, but at least I would

7条回答
  •  萌比男神i
    2021-02-02 05:50

    This is not the amount of physical memory the application is actually using. A virtual memory used by all processes can be orders of magnitude more than the amount of physical RAM on the machine, without any obvious problems.

提交回复
热议问题