RedHat5.6 32 位最多识别多大的内存

2016-08-03 16:49:39 +08:00
 Uni9k

RT RedHat5.6 32 位最多识别多大的内存

2851 次点击
所在节点    Linux
8 条回复
Uni9k
2016-08-03 17:02:36 +08:00
The maximum theoretical heap limit for the 32-bit JVM is 4G. Due to various additional constraints such as available swap, kernel address space usage, memory fragmentation, and VM overhead, in practice the limit can be much lower. On most modern 32-bit Windows systems the maximum heap size will range from 1.4G to 1.6G. On 32-bit Solaris kernels the address space is limited to 2G. On 64-bit operating systems running the 32-bit VM, the max heap size can be higher, approaching 4G on many Solaris systems.
Uni9k
2016-08-03 17:02:59 +08:00
貌似找到了 32 位 只能识别 2G
skydirewolf
2016-08-03 17:22:16 +08:00
LZ 应该说的是 32 系统下单进程能申请到的内存空间最多到 2G 吧。
如果是系统的话 32 位也应该是最大识别到 4G 内存,没记错的话如果用 PAE 内核能识别到 64G 。
likuku
2016-08-03 17:23:41 +08:00
对内存需求大的单个进程类应用(DB 服务), 32bit 就很讨厌了...
notgod
2016-08-03 17:26:20 +08:00
@Uni9k
一般 4G
在大就需要开 PAE 支持还是什么的支持 在 32 位下是可以支持更大内存
但是实际上性能好像和原生支持差很多 以前听说是内存寻址的问题

在说 现在都 7 了.... 还 5 不是扯淡嘛
Uni9k
2016-08-03 17:41:18 +08:00
@notgod 一般企业 或者学校 用服务器都是老的
Uni9k
2016-08-03 17:43:00 +08:00
@skydirewolf 恩 因为 weblogic 报内存溢出的错误,然后看到系统是 32 位的 就想问问 32 位 jdk 能用多大的内存 刚刚在 oracle 官网查到文档了
msg7086
2016-08-04 03:28:24 +08:00
RHEL 5 32 位,最大可用内存是 16G 。
https://access.redhat.com/articles/rhel-limits

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/296877

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX