I want to monitor a java applet for memory usage, using jconsole in Windows, and i would like to find out which process is the one that i should focus in.

jconsole menu processes

On the image i posted appear two processes which jconsole is able to connect to. I am 100% sure that no other java process is executed except for a firefox instance running the applet.

The empty named process (PID 5152) is firefox.exe, and the "sun.plugin2.manin..." (PID 5628) named one is java.exe, according to windows task manager.

So which one should i monitor?

Thanks in advance.

有帮助吗?

解决方案

You should connect to the process starting with 'sun.plugin2'. The firefox process is the parent of the 'sun.plugin2' process.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top