Ross, If my memory serves me right (which is rarely) there was a discussion on the list about this. I believe the comment was that during reloads there are references to objects that don't get released when a context is undeployed. The memory is lost until a restart. In production this should not be an issue because of the infrequent occurrence of redeploys.
Doug www.parsonstechnical.com ----- Original Message ----- From: "Angelov, Rossen" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, April 07, 2004 7:13 PM Subject: RE: Tomcat 5 out of memory > I don't understand why rebuilding the cache would take more memory than what > was originally required. It just doesn't sound right or it is a memory leak > when you use the stop/start or reload options. > > Giving a higher priority to this process is not a very good option because > in our case it is a development UNIX server and there are database and other > peoples' processes running. > > Increasing the memory heap size will just slow down the occurrence of that > OutOfMemory error instead of preventing it. I'm actually looking for a long > term solution because it may be critical whether to use tomcat for > production and live web servers. > > Thanks, > Ross > > -----Original Message----- > From: Nicholas Bernstein [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 07, 2004 5:29 PM > To: Tomcat Users List > Subject: Re: Tomcat 5 out of memory > > > rebuilding the cache, I would imagine. I'm not sure how you would reduce > it though, it's "a good thing"(tm) -- really, it's reducing the memory > usage by 2-3MB once the cache is rebuilt. > > This is just an (somewhat) educated guess, though. I suppose you could > give it a higher priority so it could speed it up, and take up more > resources, for a shorter period of time, or alternately, throw some > hardware at it, and add some more memory. > > On Wed, 2004-04-07 at 15:17, Angelov, Rossen wrote: > > Hi, > > > > We are having problems with Tomcat when restarting the virtual servers or > > the contexts - the memory usage goes up with about 2-3 MB per restart. > > We have the following java options when starting Catalina: > > -Xms128m -Xmx256m -verbose:gc > > > > Does anybody know what's causing such a behavior and how it can be > limited? > > > > Thanks, > > Ross > > > > "This communication is intended solely for the addressee and is > > confidential and not for third party unauthorized distribution." > -- > +---------------------------------------------------------------+ > | Nicholas Bernstein | [EMAIL PROTECTED] | > | UNIX Systems Administrator | http://www.docmagic.com | > | Document Systems Inc. | | > | gpg: F706 8C4E 78FA DDDD 53A0 019F D983 FE28 2002 D1F3 | > +---------------------------------------------------------------+ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > "This communication is intended solely for the addressee and is > confidential and not for third party unauthorized distribution." > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
