mmshivesh / Python-Nova.novaextension

Python Extension for Panic's Nova editor for macOS
https://extensions.panic.com/extensions/works.creativecode/works.creativecode.python-nova/
22 stars 6 forks source link

Python process using 100% CPU? #21

Closed Gugu7264 closed 2 years ago

Gugu7264 commented 2 years ago

I don't have a screenshot of the activity monitor at this time, but it seems that when I start the extension, a Python process is created for each Nova window, and this Python process is using 100% CPU (I have 8 cores, so each process = 1 full core). Is that a unique issue to me or are other people encountering this?

jbergstroem commented 2 years ago

Same here: the instant I turn the extension on, it consumes one core.

marriotb commented 2 years ago

It was doing the same for me. Not all the time: doesn't do it if only the Launcher window is open, but if a file window is open it did.

This was running Nova 8.3 in Big Sur 11.6.2 & Python 3.10.1 on Apple Silicon.

Upgrading to Nova 8.4 and Python3.10.2 stopped this issue.

mmshivesh commented 2 years ago

@jbergstroem @Gugu7264 Did @marriotb 's solution work to fix this, i.e. Updating to Nova 8.4 (or Nova 9) and Python 3.10.2?

jbergstroem commented 2 years ago

I tested with Nova 9 and Python 3.9.10 via Homebrew. Seems fixed.

mmshivesh commented 2 years ago

Thanks!