RE: manager outofmemory exception
Thanks, i will try to set maxpermsize to 256m Regards, Enrique. El mar, 11-10-2005 a las 17:11 +0100, Peter Crowther escribió: > > From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] > > What i don't understand is that I "sometimes" get OutOfMemoryException > > when i upload new aplitications to the tomcat using the manager. > > > > I Profiled my aplication and i don't have any memory issue. > > Just to check: Did your profiling include looking at PermGen? > > > Is this a manager bug? Why the Total Memory is never higger > > than 128 MB but I get OutOfMemoryExceptions? > > Java always loads classes into the permanent generation (PermGen) and > never (to my knowledge) reclaims that space, even when you unload > classes. So you may be running out of PermGen space. You may wish to > increase that. A search on a Tomcat archive for 'Permgen' should give > you plenty more information! > > - Peter > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: manager outofmemory exception
> From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] > Subject: manager outofmemory exception > > What i don't understand is that I "sometimes" get OutOfMemoryException > when i upload new aplitications to the tomcat using the manager. Search the archives - this comes up frequently. Assuming you're using a HotSpot JVM (Sun 1.4 or later), you're probably running out of PermGen space, where all the instances of java.lang.Class (among other things) are stored. - 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: manager outofmemory exception
http://jakarta.apache.org/tomcat/faq/memory.html#why -Tim Enrique Rodriguez wrote: I know this is a very common issue but i want to be sure about it. I have 5 tomcats on a 8Gb RAM machine. The number of applications installed on tomcats are 5 to 15. All the tomcat run with -Xms128M -Xmx512M but the manager aplication never show JVM memory higger than 128 This is the JVM memory state for the tomcat with 15 application: Free memory: 73.94 MB Total memory: 128.62 MB Max memory: 510.37 MB What i don't understand is that I "sometimes" get OutOfMemoryException when i upload new aplitications to the tomcat using the manager. I Profiled my aplication and i don't have any memory issue. Is this a manager bug? Why the Total Memory is never higger than 128 MB but I get OutOfMemoryExceptions? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: manager outofmemory exception
> From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] > What i don't understand is that I "sometimes" get OutOfMemoryException > when i upload new aplitications to the tomcat using the manager. > > I Profiled my aplication and i don't have any memory issue. Just to check: Did your profiling include looking at PermGen? > Is this a manager bug? Why the Total Memory is never higger > than 128 MB but I get OutOfMemoryExceptions? Java always loads classes into the permanent generation (PermGen) and never (to my knowledge) reclaims that space, even when you unload classes. So you may be running out of PermGen space. You may wish to increase that. A search on a Tomcat archive for 'Permgen' should give you plenty more information! - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]