First time here? Checkout the
FAQ
!
x
Login
Remember
Register
Ask Data Science!
About
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Ask a Question
How is memory management in Python?
+1
vote
340
views
asked
Jul 9, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
memory-management
Tweet
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 9, 2019
by
askpython
(
1.4k
points)
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.
Please
log in
or
register
to add a comment.
Related questions
+1
vote
1
answer
441
views
Is indentation required in Python? Is Python case-sensitive?
asked
Jul 11, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
+1
vote
1
answer
394
views
What is type conversion in Python?
asked
Jul 9, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
+1
vote
1
answer
283
views
What is PYTHONPATH in Python?
asked
Jul 9, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
+1
vote
1
answer
306
views
What is a namespace in Python?
asked
Jul 9, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
namespace
+1
vote
1
answer
271
views
What is PEP8 in Python?
asked
Jul 9, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
pep8
Categories
All categories
Programming
(38)
Data Science
(130)
Machine Learning
(78)
Deep Learning
(9)
Artificial Intelligence
(3)
Web Development
(8)
Mobile Development
(0)
Cloud Computing
(10)
Human Computer Interaction
(92)
Python Interview Questions
(18)
Data Science Interview Questions
(19)
Machine Learning Interview Questions
(17)
Deep Learning Interview Questions
(2)
424
questions
364
answers
99
comments
665
users
...