How can a 1Gb Java heap on a 64bit machine use 3Gb of VIRT space?
- by Graeme Moss
I run the same process on a 32bit machine as on a 64bit machine with the same memory VM settings (-Xms1024m -Xmx1024m) and similar VM version (1.6.0_05 vs 1.6.0_16). However the virtual space used by the 64bit machine (as shown in top under "VIRT") is almost three times as big as that in 32bit!
I know 64bit VMs will use a little more memory for…