Adds the memory monitor