Hi Christopher, Working directory for tomcat is like "D:\tools\tomcat7-4", but there is no file generated under this directory.
On 15 December 2015 at 06:48, Christopher Schultz < ch...@christopherschultz.net> wrote: > Yogesh, > > On 12/14/15 1:34 AM, Yogesh Patel wrote: > > We set -XX:+HeapDumpOnOutOfMemoryError > > but we couldn't find any file which contains the heap dump. > > As per the docs file name will be "./java_pid<pid>.hprof" but there is no > > such file generated on OutOFMemoryError. > > What is the CWD of the Tomcat process? You can find is on Linux by > poking-around in the /proc/[pid] fs... can probably get it with some > work using lsof, etc. > > -chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- *Thanks & Regards,* * Yogesh Patel*