addMemoryPressureListener

Add a listener to be notified of memory pressure events.