Re: JDK1.2 size question

1999-03-08 Thread Joseph H. Buehler
[EMAIL PROTECTED] (Anand Palaniswamy) writes: > It is possible to unmap memory and return it to the OS on Linux. I am > sure Emacs does that. The classic VM garbage collector can not do > that. It wants to keep the memory mapped (so it can always be sure > that the heap is contiguous -- unmmap

Re: JDK1.2 size question

1999-03-06 Thread Steve Byrne
Anand Palaniswamy writes: > [EMAIL PROTECTED] (Joseph H. Buehler) writes: > > > [EMAIL PROTECTED] (Anand Palaniswamy) writes: > > > > > Another bad side effect of this limitation is that the famous "return > > > memory to OS" bug can not be implemented on Linux (ie, there is no > > > heap

Re: JDK1.2 size question

1999-03-06 Thread Nathan Meyers
Anand Palaniswamy wrote: > > 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 > > bec

Re: JDK1.2 size question

1999-03-06 Thread Anand Palaniswamy
[EMAIL PROTECTED] (Joseph H. Buehler) writes: > [EMAIL PROTECTED] (Anand Palaniswamy) writes: > > > Another bad side effect of this limitation is that the famous "return > > memory to OS" bug can not be implemented on Linux (ie, there is no > > heap "shrinking"). > > Are you sure about that? I

Re: JDK1.2 size question

1999-03-06 Thread Joseph H. Buehler
[EMAIL PROTECTED] (Anand Palaniswamy) writes: > Another bad side effect of this limitation is that the famous "return > memory to OS" bug can not be implemented on Linux (ie, there is no > heap "shrinking"). Are you sure about that? I use GNU emacs a lot and just tried an experiment on a machin

Re: JDK1.2 size question

1999-03-06 Thread Anand Palaniswamy
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?

Re: JDK1.2 size question

1999-03-06 Thread Peter Schuller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > 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 th

Re: JDK1.2 size question

1999-03-05 Thread Anand Palaniswamy
The reason for this is that the default -Xmx value is 64MB. On Linux you can not treat (1) reserving part your addresss space and (2) comitting swap to it as two different ops. You get both at one shot. (This is my understanding, I could be wrong, please correct me if you are better inform