RE: Tomcat OutOfMemory at 158MB - Not reclaiming any memory overn
ight 2004-01-08 - By Edson Alves Pereira
Back In my opnion, is better instead of increasing memory of tomcat JVM try to profile your application. I�m sure if tomcat complain about memory, your servlets have something wrong.
> -- ---- -- > De: Francois JEANMOUGIN[SMTP:Francois.JEANMOUGIN@(protected)] > Responder: Tomcat Users List > Enviada: quinta-feira, 8 de janeiro de 2004 7:31 > Para: Tomcat Users List > Assunto: RE: Tomcat OutOfMemory at 158MB - Not reclaiming any memory > overnight > > > > > -- --Original Message-- -- > > The other day Tomcat threw an OutOfMemoryException. This is our > > development version of Tomcat. Looking at the Windows processes revealed > > Tomcat at 158MB. > > Let me do some divination. You are using a SUN Jvm, with no Xms nor Xmx > parameter. So, the memory allocated to your applications is 64MB > (default). 158 is a good value reflecting the size of the VM plus the size > allocated to your applications. > > If your application needs more memory, try to path -Xmx=128m -Xms=128m to > your startup scripts. > > Hope this helps, > > Fran�ois (Oraculum). > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) > For additional commands, e-mail: tomcat-user-help@(protected) >
|
|