M
mortenalver
Hi,
I've a feeling that this should be general knowledge, but I haven't
been able to find any clear information on it.
A small Java app, run on Linux (Ubuntu 5.10, kernel 2.6.12, Dell
Latitude w/Pentium M), shows up in the System monitor as using the
ridiculous amount of >200mb virtual memory. The use of "physical
memory" is much smaller. I've looked at the heap usage (and the heap
size limit), and I've tried the "-XX:ReservedCodeCacheSize" to reduce
the amount of memory reserved. Both of these affect the grand total,
but even with a small heap (<4mb) and a reserved code cache size of
4mb, I can't get the total below 200mb.
I'm wondering what to tell the user of my app, who's asking why it is
using 250mb of memory (on Suse 10.0). Is this memory actually used, or
if it is a problem with the reporting of memory usage? I saw something
in a discussion on the web about "reserving" virtual memory, but this
was AMD64-specific, so I'm not sure if it was relevant.
Sincerely,
Morten Alver
I've a feeling that this should be general knowledge, but I haven't
been able to find any clear information on it.
A small Java app, run on Linux (Ubuntu 5.10, kernel 2.6.12, Dell
Latitude w/Pentium M), shows up in the System monitor as using the
ridiculous amount of >200mb virtual memory. The use of "physical
memory" is much smaller. I've looked at the heap usage (and the heap
size limit), and I've tried the "-XX:ReservedCodeCacheSize" to reduce
the amount of memory reserved. Both of these affect the grand total,
but even with a small heap (<4mb) and a reserved code cache size of
4mb, I can't get the total below 200mb.
I'm wondering what to tell the user of my app, who's asking why it is
using 250mb of memory (on Suse 10.0). Is this memory actually used, or
if it is a problem with the reporting of memory usage? I saw something
in a discussion on the web about "reserving" virtual memory, but this
was AMD64-specific, so I'm not sure if it was relevant.
Sincerely,
Morten Alver