Monitor java memory pools using JMX.