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 |
How do you sort a list alphabetically in python with sort function?
How is the Implementation of Pythons dictionaries done?
What is a raw input in python?
How will you check in a string that all characters are digits?
What is the function of gil in python?
What are the other languages that support strongly for regular expressions?
What is the python decorator?
How to exit python script in command prompt?
In Python what are iterators?
What is python used for at google?
Given the first and last names of all employees in your firm, what data type will you use to store it?
Explain how you can access sessions in flask?