HeapStats is a lightweight JavaVM monitoring tool for Java heap and GC status. It sends a real-time alert such as an SNMP trap when it has been predicted that a fault will occur. It yields rather small log files which you can analyze with a GUI equipped tool.