Creating Memory leak metric