Stray Python processes in memory on MacOS 11.6
Question:
I have a Macbook Air M1 from 2020 with MacOS Big Sur (11.6). I regularly use Python with Jupyter notebooks, or from the terminal. To install Python, I use Anaconda3 for MacOS Apple Silicon. I often use Python from different conda
environments.
After I close all windows and running python processes, and quit every application, the Activity Monitor application says that I have numerous Python processes in memory. These processes do not take any CPU, only just 10s Mb of memory. I occasionally quit the processes with activity monitor, but then they slowly build up again over time.
Why are these processes here? What can I do to prevent them from building up and taking memory? Is this a bug?
Answers:
Turns out there was a bug in some versions of the isort
extension to Visual Studio Code.
https://github.com/microsoft/vscode-isort/issues/241#issuecomment-1430587251
The problem is resolved with version 2023.9.10451716
(the pre-release version as of the date of this post)
I have a Macbook Air M1 from 2020 with MacOS Big Sur (11.6). I regularly use Python with Jupyter notebooks, or from the terminal. To install Python, I use Anaconda3 for MacOS Apple Silicon. I often use Python from different conda
environments.
After I close all windows and running python processes, and quit every application, the Activity Monitor application says that I have numerous Python processes in memory. These processes do not take any CPU, only just 10s Mb of memory. I occasionally quit the processes with activity monitor, but then they slowly build up again over time.
Why are these processes here? What can I do to prevent them from building up and taking memory? Is this a bug?
Turns out there was a bug in some versions of the isort
extension to Visual Studio Code.
https://github.com/microsoft/vscode-isort/issues/241#issuecomment-1430587251
The problem is resolved with version 2023.9.10451716
(the pre-release version as of the date of this post)