Add memory monitor