Why isn't all the memory de-allocated when Python exits?
Answers were Sorted based on User's Feedback
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 |
Answer / glibwaresoftsolutions
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 |
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 |
What is oops in python?
What does a function of python programming?
Tell me what are different methods to copy an object in python?
What does append () do in python?
What is threads life cycle?
What is the difference between re.search and re.match?
What is numpy array in python?
What is python keyword?
How do you add elements to a list in python?
What is the Global Interpreter Lock (GIL) in Python?
How would you define a protected member in a python class ?
Difference between __str__ and __repr__?