Re: Generated Dump file for HeapDumpOnOutOfMemoryError

2015-12-16 Thread Christopher Schultz
Yogesh, On 12/16/15 3:50 AM, Yogesh Patel wrote: > Working directory for tomcat is like "D:\tools\tomcat7-4", but there is no > file generated under this directory. Maybe a file permissions error? Can the user running your service write to D:\tools\tomcat7-4? If you are in fact running as a servi

Re: Generated Dump file for HeapDumpOnOutOfMemoryError

2015-12-16 Thread Yogesh Patel
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:+HeapDump

Re: Generated Dump file for HeapDumpOnOutOfMemoryError

2015-12-14 Thread Christopher Schultz
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.hprof" but there is no > such file generated on OutOFMemoryError. What is the CWD of the Tomcat p