Why isn't all the memory de-allocated when Python exits?
Answer Posted / nashiinformaticssolutions
Certain Python modules are not always released or deallocated when Python terminates, particularly those that include circular references to other objects or objects referenced from global namespaces.
Python's effective cleanup mechanism would attempt to de-allocate/destroy all other objects upon termination.
De-allocating the RAM that the C library has reserved is difficult.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of _init_() function in python?
So, then, what is the global keyword?
How would you display a file’s contents in reversed order?
How to get the current time in python?
Does python perform tail recursion optimization?
What is final and super keyword difference between them?
What's a python script?
What is the difference between old style and new style classes in python?
How to create a unicode string in python?
How will you convert a string to all lowercase?
What does super () do python?
Is python dict a hashmap?
What is a class and super class?
How does inheritance work in python?
Can you list down some of the pdb commands for debugging python programs?