简体   繁体   English

我在Linux上有一台8 GB RAM和32位JVM的机器,我想让JVM使用最大的RAM

[英]I have a machine with 8 GB RAM with 32 bit JVM on linux and i want to make JVM to use maximum USE OF RAM

I have a machine with 8 GB RAM with 32 bit JVM on linux and i want to make JVM to use maximum USE OF RAM , I think if i increase Heap size memory then Garbage Collector will become slow. 我在Linux上有一台8 GB RAM和32位JVM的机器,我想让JVM使用最大的RAM,我想如果我增加堆大小的内存,那么垃圾收集器就会变慢。 Is there other solution to improve processing speed ?. 还有其他解决方案可以提高处理速度吗? thanks in advance. 提前致谢。

Install a 64-bit version of Linux and Java. 安装64位版本的Linux和Java。

If you have a 64-bit processor, you can run a 64bit VirtualBox on a 32bit OS. 如果您有64位处理器,则可以在32位操作系统上运行64位VirtualBox。 Source 资源

If it is an Oracle JVM you cannot use all that memory. 如果是Oracle JVM,则无法使用所有内存。

Upgrade to a 64 bit JVM suitable for the platform. 升级到适合该平台的64位JVM。

may be run 2 32 bit Java virtual machines. 可以运行2个32位Java虚拟机。 There is no other way to utilize 8GB, if you cant upgrade to 64 bit. 如果你不能升级到64位,没有其他方法可以使用8GB。

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

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