Add log when memory usage reached the MaxRSS

This will be useful for problem locating.

Our online system use linux container, now and then it may be kill because of memory leaks.
This log could be useful at this scenario.