Add log when memory usage reached the MaxRSS

This will be useful for problem locating