Categories

Dec 14, 2019 in Python
Q: How Does Python Handle Memory Management?

1 Answer

Dec 14, 2019

Python uses private heaps to maintain its memory. So the heap holds all the Python objects and the data structures. This area is only accessible to the Python interpreter; programmers can’t use it.

And it’s the Python memory manager that handles the Private heap. It does the required allocation of the memory for Python objects.

Python employs a built-in garbage collector, which salvages all the unused memory and offloads it to the heap space.

Click here to read more about Python
Click here to read more about Insurance

Related questions

Madanswer
Jun 26 in Python
Feb 20 in BlockChain
Apr 11 in SAP
...