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

Last updated 3 weeks, 4 days ago | 25 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.