Watch free memory of other VM

Hi,I have a Java-Application A and a Java-Application B. Is it possible to connect from application A to application B in order to get the free memory of B磗 vm?Does anybody know how it works?GreetingsGregor
[241 byte] By [gewalda] at [2007-10-3 9:13:25]
# 1
If your application A knows application B's pid, you can then call "jmap", "jstack", "jinfo", and all those goodies.--Lichu
Lichua at 2007-7-15 4:25:49 > top of Java-index,Core,Monitoring & Management...
# 2
You could use JMX to query those values (assuming you are using JRE >= 1.5).It provides facitlities for remote monitoring as well.
JoachimSauera at 2007-7-15 4:25:49 > top of Java-index,Core,Monitoring & Management...