classification
Title: Memory Leak when using Thread
Type: resource usage Stage:
Components: Library (Lib) Versions: Python 3.8, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: goyalakshat14
Priority: normal Keywords:

Created on 2021-01-30 04:03 by goyalakshat14, last changed 2021-01-30 04:03 by goyalakshat14.

Files
File name Uploaded Description Edit
simple.py goyalakshat14, 2021-01-30 04:03
Messages (1)
msg385969 - (view) Author: akshat goyal (goyalakshat14) Date: 2021-01-30 04:03
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.
History
Date User Action Args
2021-01-30 04:03:55goyalakshat14create