Explain the memory management in Python

: 673
Paper : Python FAQ (Frequently Asked Questions and answers) for freshers | Platform : Object-oriented programming Language | Category : Programming FAQs

Python memory management is managed by python private heap space. The private heap contains all the objects and structures. The programmer can not access the private heap space rather python interpreter takes care of the heap space. Python's memory manager allocates the memory to objects. Python has an inbuilt garbage collector. It frees up the memory space to re-use by heap space.