Why isn't all the memory de-allocated when Python exits?
Answer Posted / hr@tgksolutions.com
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 python main function and write one good example?
What does range () do in python?
Can we use else with for loop in python?
How do I run python on linux?
Which python library is built on top of matplotlib and pandas to ease data plotting?
What is numpy shape?
Can we return a string in python?
When does a dictionary is used instead of a list?
What is numpy array in python?
Why should we hire you examples?
Explain about pickling and unpickling?
name few python modules for statistical, numerical and scientific computations?
Explain pickling and unpickling in python?
Do you know what does the
How can you pick a random item from a list or tuple in python?