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 the single underscore “_” variable in python?
What is the accomplishment you are most proud of?
What does “list comprehension” mean? How does it work and how can I use it?
In python, can you name the data science and machine learning libraries?
Explain Inheritance in Python?
What advantages do numpy arrays offer over (nested) python lists?
Explain me what are the built-in types available in python?
When do you use list vs. tuple vs. dictionary vs. set?
Why do arrays have a 0 in it?
Name few python web frameworks for developing web applications?
What is split used for?
Is python better than ruby?
What is the best front end for python?
Why do I receive a syntax error when printing a string in python 3?
How do I generate random numbers in python?