0 votes
in Python by
Explain memory management in Python.

1 Answer

0 votes
by
In Python, the Python Memory Manager takes care of memory management. It allocates the memory in the form of a private heap space that stores all Python objects and data structures, there are 4 built in data structure in python. This private space is inaccessible to the programmer. However, the core API allows the programmer to access some tools for coding purposes. Plus, Python is equipped with an in-built garbage collector that recycles the unused memory for the private heap space.

Related questions

0 votes
asked Dec 31, 2020 in Python by SakshiSharma
0 votes
asked Dec 19, 2019 in Python by sharadyadav1986
...