674 views

1 Answer

0 0 votes
  • Memory management in python is performed by Python private heap space. All Python objects and data structures are located in a private heap. The programmer does not have access to this private heap. The python interpreter takes care of this instead. 
  • The allocation of heap space for Python objects is done by Python's memory manager. The core API gives access to some tools for the programmer to code. 
  • Python also has an inbuilt garbage collector, which recycles all the unused memory and so that it can be made available to the heap space. 

Related questions

1 1 vote
1 1 answer
756
756 views
1 1 vote
1 1 answer
701
701 views
askpython asked Jul 9, 2019
701 views
1 1 vote
1 1 answer
612
612 views
askpython asked Jul 9, 2019
612 views
1 1 vote
1 1 answer
662
662 views
1 1 vote
1 1 answer
604
604 views
askpython asked Jul 9, 2019
604 views