> -----Original Message----- > From: Rick Fincher [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 5: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. >
I could be wrong, but I've seen it repeated often enough on here that I guess I took it as gospel! ;-) Well, at best then, it varies based on the specific JVM you're using. In general, I'd say you can't assume that all of the memory used by the JVM process is actually in use by the application, and you especially can't assume at any point that the GC has freed all of the memory that it could. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > Rick > > ----- Original Message ----- > > snip > > It's also worth noting that the memory freed from garbage > collecting > > objects in Java isn't returned to the OS, but kept as the VMs free > > internal heap space. > snip > > -- > > Tim Moore / Blackboard Inc. / Software Engineer > > 1899 L Street, NW / 5th Floor / Washington, DC 20036 > > Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > > > > > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
