That depend very much on the operation system, and the way the 
vm is implemented. The default behavior for many operating
systems is that the memory isn't shrinking. The freed spaces
is just free inside the memory of the vm. (The last time I had
to deal with solaris back in 98 the normal malloc/free cycles
didn't give back the memory to the os. To implement that, you 
had to use memory mapped files or use special libraries.)

> -----Original Message-----
> From: Rick Fincher [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 19, 2002 11:02 PM
> To: Tomcat Users List
> Subject: Re: in search of more efficient design
> 
> 
> Is this correct?  My JVM memory use expands and contracts all the time
> during a Tomcat run.  The JVM will get bigger until it hits the memory
> limits set up at start time, then it will GC and get smaller, 
> according to the OS anyway.
> 
> This is on Solaris but I can't imagine that they would make 
> the JVM such a
> memory pig on other OS's.  Early versions maybe, but not now.
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to