Lessons learning from investigating memory leaks on Python