Python interpreters don't terminate automatically in MacOS


My pycharm doesn't automatically terminate python process after running.

After running test for a few times, there are a lot of python process under the background. 

Therefore, my CPU usage and memory become very high, and my computer becomes very slow.

I've used pycharm for a long time, and never happen this situation. Does anyone know how to fix it?


p.s. pycharm version is community 2020.3


I downgrade my python version from 3.9 to 3.8, then this issue has been fixed. The pycharm would terminate python process as usual.

1 comment


Could you please provide me with a simplified code example to reproduce along with logs folder zipped from ***Help | Collect logs and Diagnostic Data*** ? Please upload it to the FTP and  let me know the filename. 


Please sign in to leave a comment.