
18 Oct
2011
18 Oct
'11
11:39 p.m.
On 18/10/11 10:43, Jason White wrote:
Toby Corkindale<toby.corkindale@strategicdata.com.au> wrote:
However, the default java implementation on 64bit machines assumes that it can grab a gigabyte or so up front, and generally does so!
:/
I hope it wouldn't allocate a gigabyte just to run "hello world".
On my machine (w/6GB of RAM and a couple of GB of swap) java just allocated 1855M (virtual) of RAM to say "hello world" and sleep for 10 seconds.
Can you post the output you parsed to come up with those figures? It's easy to look at a 'virtual memory usage' figure and jump to conclusions about memory usage but it's much more complicated than that. James