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
Do arrays start at 0 in python?
What is the iterator protocol?
What are the types of inheritance in python?
Python list of lists, changes reflected across sublists unexpectedly
Explain a few methods to implement functionally oriented programming in python?
What is pyunit in python?
Does nasa use python?
What does isalpha do in python?
What module is used to execute linux commands through the python script and give us with one example
Mention what are the rules for local and global variables in Python?
I am from non technical Background. In how many days I can learn the python? and What I need to do for that?
What is long in python?
Who built the sphinx?
Which database is used in python?
Explain the uses of the modules sqlite3, ctypes, pickle, traceback, and itertools.