This is an old revision of the document!
Open ex01.py and take a look at the code. What is the difference between the methods do_append() and do_allocate()?
Use vmstat to monitor the memory usage while performing the following experiments. In the main method, call:
Offer an interpretation for the obtained results and try to change the behavior so that the memory usage will be the same when performing any of the experiments (without changing the code). HINT: Python GC
Explain in a paragraph how Generational Garbage Collection works.
In a python shell, get the generational thresholds and the current number of live references in each generation.
Copy+paste the code and the resulting values or add a screenshot.