How create a memory dump of a Java process run as windows service? With tools like jVisualVM, jstack or jconsole I can not see the process because the service run with a system account.
Edit: With jVisualVM i can see the process but it show only a “Not supported for this JVM.”
To use the tools, you need to run then as the same user as the service. If you don’t want this security feature, you need to set up JMX for the server will allow remote access (which will also work on the same box as a different user)
If you use
taskmgrto create a low level memory dump you will have trouble finding any tools which can make sense of the output. You need to use a Java tool to trigger the dump.