Hmm.., I came accross these documents while trying to increase memory for my IDE... and that's why I thought having a very large heap size doesn't always improve performance of a Java based app.
http://support.jetbrains.com/kb/entry.jspa?externalID=33&categoryID=5 "...For instance, running gc might take extremely long time. In such case, it is advisable to reduce the heap size...." http://support.jetbrains.com/kb/entry.jspa?categoryID=5&externalID=3 "...Until the memory size used for the JVM heap is lower than the specified limit, the garbage collector does not perform serious attempts to release memory...." -Rashmi ----- Original Message ---- From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: Tomcat Users List <users@tomcat.apache.org> Sent: Thursday, March 15, 2007 12:05:00 PM Subject: RE: tomcat 5.5 > From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat 5.5 > > So, having a lower heap size limit (lower max memory > setting), ensures that the garbage collector releases as much > memory as possible in a shorter interval and having a higher > memory setting significantly delays the garbage collection. Actually, the length of time spent in GC is almost entirely dependent on the number of live objects and not the size of the heap. The number of live objects fluctuates a relatively small amount for most applications, so it's usually beneficial to run with as large a heap as you can get away with. In this case, the JVM isn't running out of heap space - it's the underlying OS that's refusing to create additional threads when the JVM heap is enlarged enough to impact the remaining virtual space for the process. Might be something as simple as not having a large enough swap file. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]