views:

410

answers:

2

jmap works fine for me on XP. But when I try to execute the command, it throws and error

Not enough storage available to process.

I used the following command

jmap -dump:format=b,file=heap1.bin .

Note that tomcat is running as a service on windows server.

I tried the same on windows xp and no problems there.

Any ideas??

Thanks

A: 

if you're doing this over RDP, you might need to RDP into the machine as /console or /admin, i.e.

mstsc /admin

or

mstsc /console

On one windows 2003 server, I needed to use mstsc /admin; on another, mstsc /console worked fine.

marc esher
A: 

having similar error on win2k3 machine, solved using: mstsc /admin /v:

drupii