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 | |
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.
|