More improvements to memory monitor