views:

1301

answers:

3

I'm on Windows Vista 64 bit, with a 64 bit jvm installed. I'm trying to use jstack and jmap -- two utilities that come with the JDK -- to peek into an application server's guts. This works fine on a windows xp machine, 32 bit.

However, when I run these commands against the processid for a ColdFusion application server on this vista64 machine, I get the error message in the title of this post.

All I'm doing is running jstack , where pid is the processid of my CF server, and I'm getting this

this machine has plenty of available memory, but I highly doubt it's a memory problem. The reason I say that is that if I start JBoss, which is taking up just as much memory as CF, I can run jstack against that process.

Thanks for advice

+3  A: 

Figured it out. The problem was that ColdFusion was running as a windows service. By stopping the service and running from the command line (jrun start cfusion) , I was able to successfully use the JDK tools

marc esher
hmm.. interesting. I wonder why.
Henry
A: 

Thank you. I had a similar problem but no solution anywhere. Fortunately found your post.

A: 

this posting provides details on how to execute jstack when the process is running as a windows service. basically, use the psexec command.

http://stackoverflow.com/questions/906620/jstack-and-not-enough-storage-is-available-to-process-this-command

MarkusKhouri