Question:

Whenever Python exists Why does all the memory is not de-allocated / freed when Python exits?

Answer:

Whenever Python exits, especially those python modules which are having circular references to other objects or the objects that are referenced from the global namespaces are not always de – allocated/freed/uncollectable.
It is impossible to deallocate those portions of memory that are reserved by the C library.
On exit, because of having its own efficient clean up mechanism, Python would try to deallocate/
destroy every object.


Keywords:

© 2017 QuizBucket.org