only monitoring based on memory