JProfiler is the best for this job, there are examples to show you how bind JProfiler to tomcat ( www.jprofiler.com ), its pretty easy to handle this tool.
> ---------- > De: Allistair Crossley[SMTP:[EMAIL PROTECTED] > Responder: Tomcat Users List > Enviada: quinta-feira, 8 de janeiro de 2004 8:58 > Para: Tomcat Users List > Assunto: RE: Tomcat OutOfMemory at 158MB - Not reclaiming any memory > overnight > > Yes I would like to profile my application....but do you have any tips on > how to do this or where to start? > > Thanks > > -----Original Message----- > From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] > Sent: 08 January 2004 12:49 > To: 'Tomcat Users List' > Subject: RE: Tomcat OutOfMemory at 158MB - Not reclaiming any memory > overnight > > > 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:[EMAIL 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> > ------------------------------------------------------- > QAS Ltd. > Developers of QuickAddress Software > <a href="http://www.qas.com">www.qas.com</a> > Registered in England: No 2582055 > Registered in Australia: No 082 851 474 > ------------------------------------------------------- > </FONT> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >