Improved memory monitor