monitor the memory of the system