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 |
1) How to validate ip address using regex 2)program to increment ip address in python Please find answers to above questions thanks in advance.
Why is lambda used in python?
What is the difference between a function and a method python?
How do you sort a dataframe in python?
How do you create a list which is a reverse version on another list in python?
What is a means by “tuple in python”?
How is the Implementation of Pythons dictionaries done?
Is there a switch or case statement in python?
Differentiate between .py and .pyc files?
Is python object oriented?
how do I protect python code?
What are the types of literals in Python?