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
In python, can you name the data science and machine learning libraries?
What are the two main data types in python?
Is Python good for backend?
What is wrong with the code?
What does len () do in python?
How do you break a while loop?
What is the difference between a shallow copy and deep copy?
How do you remove duplicates from a list in python whilst preserving order?
In python,how to read a file line-by-line into a list?
What is class variable in python?
How many basic types of functions are available in python?
Tell me how are arguments passed by value or by reference?
What is Python Decorator?
Does python perform tail recursion optimization?
What are classes in programming?