---
title: "Discussion on \"Garbage Collection in Python\" | Hashnode"
description: "Discussion on \"Garbage Collection in Python\". In the previous article, we explored how objects are stored in memory and how they are referenced by variables in Python. However, an important question arises: what happens when objects are no longer needed? Keeping them in memory for an extended pe..."
url: "https://hashnode.com/posts/garbage-collection-in-python/65084e5e12bfe5769b73a498"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Garbage Collection in Python](https://blog.rohitpatil.pro/garbage-collection-in-python?utm_source=hashnode&utm_medium=feed)

In the previous article, we explored how objects are stored in memory and how they are referenced by variables in Python. However, an important question arises: what happens when objects are no longer needed? Keeping them in memory for an extended pe...

Sep 18, 2023 · 3 min read · blog.rohitpatil.pro  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#memory-management](https://hashnode.com/tag/memory-management)
-   [#garbagecollection](https://hashnode.com/tag/garbagecollection)
-   [#optimization](https://hashnode.com/tag/optimization)
-   [#memory-leak](https://hashnode.com/tag/memory-leak)

## Written by

[Rohit Patil](https://hashnode.com/@rohitpatil)

@rohitpatil · Mumbai, India

  
[View profile](https://hashnode.com/@rohitpatil)

Lead Backend Engineer

I'm a software engineer with nearly five years of experience specializing in Python, Golang, DevOps, and Cloud technologies. As a former Tech Lead, I have led diverse teams and worked on eCommerce, Banking, Real Estate, and Machine Learning/AI projects. I excel in collaborating with clients to develop scalable, high-performance solutions.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
