Garbage collection is a process of
freeing memory used by un referenced objects. Python deletes un-needed objects,
when their reference count is reaches to zero.
Python’s garbage collector runs in
background during the program execution and destroy the objects, whose
reference count is 0.
Following post explains it clearly.
No comments:
Post a Comment