V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Uni9k
V2EX  ›  Linux

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

  •  
  •   Uni9k · 2016-08-03 16:49:39 +08:00 · 2851 次点击
    这是一个创建于 2827 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    8 条回复    2016-08-04 03:28:24 +08:00
    Uni9k
        1
    Uni9k  
    OP
       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
        2
    Uni9k  
    OP
       2016-08-03 17:02:59 +08:00
    貌似找到了 32 位 只能识别 2G
    skydirewolf
        3
    skydirewolf  
       2016-08-03 17:22:16 +08:00
    LZ 应该说的是 32 系统下单进程能申请到的内存空间最多到 2G 吧。
    如果是系统的话 32 位也应该是最大识别到 4G 内存,没记错的话如果用 PAE 内核能识别到 64G 。
    likuku
        4
    likuku  
       2016-08-03 17:23:41 +08:00
    对内存需求大的单个进程类应用(DB 服务), 32bit 就很讨厌了...
    notgod
        5
    notgod  
       2016-08-03 17:26:20 +08:00
    @Uni9k
    一般 4G
    在大就需要开 PAE 支持还是什么的支持 在 32 位下是可以支持更大内存
    但是实际上性能好像和原生支持差很多 以前听说是内存寻址的问题

    在说 现在都 7 了.... 还 5 不是扯淡嘛
    Uni9k
        6
    Uni9k  
    OP
       2016-08-03 17:41:18 +08:00
    @notgod 一般企业 或者学校 用服务器都是老的
    Uni9k
        7
    Uni9k  
    OP
       2016-08-03 17:43:00 +08:00
    @skydirewolf 恩 因为 weblogic 报内存溢出的错误,然后看到系统是 32 位的 就想问问 32 位 jdk 能用多大的内存 刚刚在 oracle 官网查到文档了
    msg7086
        8
    msg7086  
       2016-08-04 03:28:24 +08:00
    RHEL 5 32 位,最大可用内存是 16G 。
    https://access.redhat.com/articles/rhel-limits
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5137 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:12 · PVG 17:12 · LAX 02:12 · JFK 05:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.