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
Tell me the use of // operator in python?
What is the difference between a list and a tuple?
What is the output of print str[4: ] if str = ‘ python language’?
How to use of return keywords in python?
In python, how can you generate random numbers?
What are differences between list and dictionary in python?
What is unlink in python?
Why do we use sets in python?
How many basic types of functions are available in python?
What is a namespace in python?
How multithreading is achieved in python?
What is decorator in python?
What are the differences in list and tuple?
Can we change tuple values? If yes, give an example.
Why everything in python is an object?