coding180 icon
Coding180

What is Python's approach to memory management?

Home > Interviews > Python


robort - 2022-08-30 06:28:09

Python keeps its memory in a private heap, so the heap contains all Python objects and data structures. This area is only accessible to the Python interpreter; programmers cannot use it.
The Python memory manager, which allocates memory for Python objects, is in charge of the private heap.
Python includes a garbage collector that reclaims unused memory and offloads it to heap space.


user

Robort Gabriel

Lagos, Nigeria

Freelance Web Developer, Native Android Developer, and Coding Tutor.

Skills
  • UI / UX
  • JavaScript
  • Python
  • PHP
  • Kotlin
  • Java
  • Bootrap
  • Android
  • Laravel