Implemented persistent memory leakage checking functionality.