Whenever you exit Python, is all memory de-allocated?

Last updated 3 years, 7 months ago | 1455 views 75     5

Tags:- Python

The answer here is no. The modules with circular references to other objects, or to objects referenced from global namespaces, aren’t always freed on exiting Python.

Plus, it is impossible to de-allocate portions of memory reserved by the C library.