Why isn't all the memory de-allocated when Python exits?



Why isn't all the memory de-allocated when Python exits?..

Answer / 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

More Python Interview Questions

How does inheritance work in python?

0 Answers  


What do you understand by deque in python?

0 Answers  


How to implement an 'enum' in python?

0 Answers  


What are python’s dictionaries?

0 Answers  


What is difference between panda series and dictionary in python?

0 Answers  






What is the difference between locals() and globals ()?

0 Answers  


How will you change case for all letters in string in python?

0 Answers  


How python is interpreted?

0 Answers  


How do you include a string in python?

0 Answers  


Can we use python in linux?

0 Answers  


What are python decorators? 8) What is the difference ...

0 Answers  


What's a negative index?

0 Answers  


Categories