Hi,

Please find the requested details below

1. What is your OS?
*Windows 7,  32-bit OS. I have even tried on Windows 2k8 server but the
same problem.*

2. How much memory the running Tomcat is using? Do you have enough
space on your hard drive, and does it have access rights to write
there?
*Running Tomcat is using around 247MB and JvmMx is set to 512 MB. There is
enough free disk space available.*
**
*Tomcat is running as the logged on user account and therefore should have
access rights.*
*Also, did not login to machine as remote desktop session. I logged in to
the machine directly.

*Any help appreciated.

Thanks & Regards,
Aditi


On Wed, Sep 12, 2012 at 3:56 PM, Konstantin Kolinko
<knst.koli...@gmail.com>wrote:

> 2012/9/12 Aditi Sinha <adisinha0...@gmail.com>:
> > Hi,
> >
> >
> >
> > We have web server hosted on Tomcat 7.0.22. Tomcat is running as windows
> > service.
> >
> > When we try to get the heap  dump of Tomcat using the following command
> >
> >
> >
> > *jmap -dump:format=b,file=heap.bin <pid>*
> >
> >
> >
> > we get below error
> >
> >
> >
> > *<pid>: Not enough storage is available to process this command.*
> >
> >
> >
> > When Tomcat is started manually in console (using command “catalina.bat
> > start”), we are able to take the heap dump.
> >
> >
> > Is there any workaround which would allow to take heap dump when Tomcat
> > running as windows service?
>
> 1. What is your OS?
> 2. How much memory the running Tomcat is using? Do you have enough
> space on your hard drive, and does it have access rights to write
> there?
>
> Maybe you could try configuring the service to run as specific user
> (instead of Local Service account).
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to