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 python’s slice notation?
How would you work with numbers other than those in the decimal number system?
Differentiate between range and xrange.
Explain supported data types in python?
Do you know what is numpy and how is it better than a list in python?
How is python an interpreted language?
What is self and init in python?
What are the differences between python 2.x and python 3.x?
Is google made with python?
Write a regular expression that will accept an email id. Use the re module.
What is the process to run sub-process with pipes that connect both input and output?
How to reload a python module?