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 |
Explain about python operators?
Which methods/functions do we use to determine the type of instance and inheritance?
How do I watch a file for changes using python?
What is dogpile mechanism? Explain.
How to declare the variables function in python?
What is a cast in python?
Which certification is best for python?
Will exit method in python de allocate the global namespace?
Is python a high level language?
What is python __ repr __?
Is there a benefit to using one over the other?
How can you organize your code to make it easier to change the base class?