Why isn't all the memory de-allocated when Python exits?
Answer Posted / hr@tgksolutions.com
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
Name some python libraries?
What is coercion?
Describe how multithreading is achieved in python?
Tell me what is the difference between xrange and range?
What are some good python projects?
How does the python version numbering scheme work?
How will you capitalize the first letter of a string?
Is yield a keyword in python?
Do you know what is lambda in python?
What are operators?
How do you represent binary and hexadecimal numbers?
Is python call by reference or value?
What ais the replacements for switch statement in python?
What are class methods in python?
What is range() in python?