Track object life to detect memory leaks