CSCI 2720 Data Structures Spring 2004 Project 1 Question/Answer Q: How can I check to be sure that my destructors are working? A: Run a loop (10000 or so) inside of which you create and populate a list (put 100 or so things in it), and do that in the background. While it's running, do "ps -l" every 15 seconds or so, and look at the "size" entry (heading is "SZ") for that job. If your destructor is working, that should be stable; if not, it will keep growing.