-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Laird,
On 1/31/2010 10:44 AM, Laird Nelson wrote: > I have Tomcat 6 running as a service on Windows 2003. > > I go to the Tomcat service monitor, choose configure, choose the Java tab, > and add: > > -XX:+HeapDumpOnOutOfMemoryError > > ...as one of the Java options. > > When the OutOfMemoryError that I'm concerned about hits, I look around on > the disk to find an .hprof file. I searched the entire computer; no such > file is found. Have you tried the -XX:HeapDumpPath option as well? I suspect that your service doesn't have privileges to write to the cwd of the java process, so it doesn't write to the file. I don't know much about windows privs, but I suspect that writing to %TEMP% will work, though I have no idea where %TEMP% points for service runners. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktnHlMACgkQ9CaO5/Lv0PB4/gCeLDWxZWWduo4DfI6QRaYBBaYn IZwAoMCuS2gkGzA8MpA+p6TCdFMD+m83 =u1Ip -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org