[issue1336] subprocess.Popen hangs when child writes to stderr

2021-10-19 Thread EricLin
EricLin added the comment: @torsten Your comment here did a great help to me. I observed a long running python 2.7 process leaking memory. I did a lot of digging and eventually found that gc was disabled in this process. But who disabled it? I really have no idea. Luckily, I find this

[issue45481] gc is disabled without explict calling gc.disable()

2021-10-15 Thread EricLin
New submission from EricLin : First, I would like to clarify that this is a Python 2.7.5 issue. I know python2 is no longer maintained, but I still wish to look for some help here. We have observed a long running Python 2.7.5 process leaking memory. I tried to inject some code into the