i would use either jmap, jhat or jconsole..instructions located at http://www.rtidemo.org/drupal/node/122
Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Mon, 6 Oct 2008 08:23:01 -0700 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: Heap dump of servlet > > Is there any way to get just the heapdump of servlet threads? > > On Sat, Oct 4, 2008 at 12:16 AM, Leon Rosenberg > <[EMAIL PROTECTED]> wrote: > > kill -QUIT produces the thread dump, not the heap dump. That's being > > said it works exactly the same way with tomcat as with any other > > application, the whole thread dump is dumped out to the standard out > > which in this case is catalina.out. > > > > Leon > > > > On Sat, Oct 4, 2008 at 8:57 AM, Mohit Anchlia <[EMAIL PROTECTED]> wrote: > >> I have a servlet running under tomcat. Question is how do I take haeap > >> dump of only servlet instance. On stand alone applications it's easy > >> to do with kill -QUIT PID but in this case there is no PID of a > >> servlet. If I do on tomcat's PID then I'll get lost. > >> > >> --------------------------------------------------------------------- > >> To start a new topic, e-mail: users@tomcat.apache.org > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008