tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Generated Dump file for HeapDumpOnOutOfMemoryError
Date Wed, 16 Dec 2015 22:41:09 GMT
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 service, the
local service user has virtually no privileges (which is appropriate).

-chris

> On 15 December 2015 at 06:48, Christopher Schultz <
> chris@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-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message