Why isn't all the memory de-allocated when Python exits?
Answer Posted / 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 |
Post New Answer View All Answers
What is type conversion in python?
Why python is popular now?
How does python handle compile-time and run-time code checking?
How do you override a method in python?
Tell me how does the ternary operator work in python?
What is the print in python?
What is the os module?
Is vs in python?
Explain class __init__()?
Explain python’s parameter-passing mechanism?
How does xrange work in python?
Is python numpy better than lists?
How can you prevent abnormal termination of a python program?
How do you install a sphinx python?
What does join () do in python?