manager outofmemory exception

2005-10-11 Thread Enrique Rodriguez
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?

Regards, Enrique.




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



RE: manager outofmemory exception

2005-10-11 Thread Enrique Rodriguez
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]