由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 帮我了解一下64bit JVM
相关主题
Where I can find comparison of JVMsan Array question
structure in Java??How would clear a BufferedImage?
TIJ上写错了?String[] a = c.toArray(new String[0])
[提问] The JVM could not be started怎么返回一个变量的地址?
Java basic concept(4)out of memory
help for running CPU intensive program!!Re: Out of memory, Java heap space 的问题怎么解决? (转载)
java memory management?关于java执行SQL之后的内存问题?
[转载] 问一个关于速度的问题问个系统问题 (转载)
相关话题的讨论汇总
话题: jvm话题: memory话题: bit话题: 64话题: wasted
进入Java版参与讨论
1 (共1页)
k***r
发帖数: 4260
1
http://benjchristensen.com/2007/02/16/32-bit-versus-64-bit-jdk-memory-
usage/
So the conclusions are:
1. 32 bit jvm can only access 2GB memory while 64 bit jvm
can access more.
2. 64 bit jvm is less memory efficient and uses 40%-50% more
memory
My question is:
1. why does 64 bit jvm uses more memory? Is it mainly wasted
on 64 bit allocation of short primitive types such as char,
int and long because twice as much memory will be allocated
and half of which wasted?
2. if I'm running a 64 bit OS, L
k***r
发帖数: 4260
2
看来没有人用64bit jvm呀。
m******t
发帖数: 2416
3

We use 64b vm in production - mostly because our applications
have become such memory hogs that they simply run out of
memory quickly in 32b.
Speed wise it's not noticeably slower than 32b - maybe
because our apps spend a lot of time talking to db and
mainframe. YMMV there.

【在 k***r 的大作中提到】
: 看来没有人用64bit jvm呀。
k***r
发帖数: 4260
4
Thanks. It's good to know that you haven't noticed
any side effects.

【在 m******t 的大作中提到】
:
: We use 64b vm in production - mostly because our applications
: have become such memory hogs that they simply run out of
: memory quickly in 32b.
: Speed wise it's not noticeably slower than 32b - maybe
: because our apps spend a lot of time talking to db and
: mainframe. YMMV there.

A**o
发帖数: 1550
5
neither have i.

【在 k***r 的大作中提到】
: Thanks. It's good to know that you haven't noticed
: any side effects.

1 (共1页)
进入Java版参与讨论
相关主题
问个系统问题 (转载)Java basic concept(4)
尚未完成定义的类怎么可以作变量类型?help for running CPU intensive program!!
求教有没有好的查memory leak的工具?java memory management?
Java是如何处理ArrayList和LinkedList的内存的?[转载] 问一个关于速度的问题
Where I can find comparison of JVMsan Array question
structure in Java??How would clear a BufferedImage?
TIJ上写错了?String[] a = c.toArray(new String[0])
[提问] The JVM could not be started怎么返回一个变量的地址?
相关话题的讨论汇总
话题: jvm话题: memory话题: bit话题: 64话题: wasted