Peter Schuller <[EMAIL PROTECTED]> writes:
> > The reason for this is that the default -Xmx value is 64MB.
>
> But that's the *maximum* heap size; why does JDK 2.0 consume, in one
> particular case, 50 megs of RAM when JDK 1.1 consumed 15 megs, just
> because the *maximum* heap size is higher? Does the JDK just ignore
> freeing memory as long as it's under the max limit?
What ps/top report is the process size. Not the working set. If you
had a tool that showed you the working set it should be lower than
-Xmx (for most apps).
> The problem is that you can't decrease the max limit either, I take
> it, since that would make it impossible to run apps that really do
> requre quite a bit of memory.
Again, -Xmx64m is _not required_ to runs apps under Java 2. It is
just the default.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]