[New-bugs-announce] [issue43072] Memory Leak when using Thread

akshat goyal report at bugs.python.org
Fri Jan 29 23:03:55 EST 2021

New submission from akshat goyal <goyalakshat14 at gmail.com>:

when using Thread and allocating memory resource usage is not down as opposed to when using Process or directly calling function as can be seen in the attached script.

To replicate:
start the script with the three functions one by one and see the memory usage of the script.
Thread has the highest of all three.

components: Library (Lib)
files: simple.py
messages: 385969
nosy: goyalakshat14
priority: normal
severity: normal
status: open
title: Memory Leak when using Thread
type: resource usage
versions: Python 3.6, Python 3.8
Added file: https://bugs.python.org/file49777/simple.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list