简体   繁体   English

如果要将JVM虚拟RAM设置为8GB,对物理RAM的最低要求是什么?

[英]What is the minimum requirement of physical RAM if I want to set JVM virtual RAM 8GB?

Recently I am trying to Integrate mateplus a semantic role labeling tool for my work. 最近,我正在尝试为自己的工作集成mateplus语义角色标签工具。 It requires upto 8GB JVM virtual RAM for heap memory. 它需要最多8GB的JVM虚拟RAM作为堆内存。 can anybody help me out that If I want to do that, what is the minimum requirement of physical RAM. 有人可以帮助我吗,如果我想这样做,物理RAM的最低要求是什么。

It will be good to have at least 8GB RAM, but the JVM's are allocating virtual memory, not physical memory. 至少有8GB RAM是很好的,但是JVM正在分配虚拟内存,而不是物理内存。 The OS will assign physical memory to virtual memory as necessary and efficient. 操作系统将根据需要和效率将物理内存分配给虚拟内存。 Modern operating systems can allow virtual memory consumption to significantly exceed physical memory. 现代操作系统可以允许虚拟内存消耗大大超过物理内存。 This may or may not lead to poor performance, depending on the working set size -- roughly how much of the virtual memory is actually accessed. 这可能会或可能不会导致性能下降,具体取决于工作集的大小-大约实际访问了多少虚拟内存。 So in simple words if OS have less physical memory than JVM need it will swap it on hard disk which will affect performance. 简而言之,如果OS的物理内存少于JVM需要的物理内存,它将在硬盘上交换它,这将影响性能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM