sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
802 stars 38 forks source link

High CPU on macOS 11.4 with stable build 1407 #4435

Open coordinated opened 3 years ago

coordinated commented 3 years ago

Description

High CPU and beach balling

Steps to reproduce

  1. Files opened across 4 windows include a 3000-line Markdown file, an 11,000 line plain text file, several small LDIF files, and a few small plain text files
  2. Wait

Expected behavior

Nothing untoward; CPU usage remains minimal, no beach-balling.

Actual behavior

CPU rises to 80%. App starts to beach-ball for a second at a time whenever it is activated or any item is selected with the mouse. All other apps on the system ok. System sample file attached.

Environment

Sample file

2021-06-10 - Sample of Sublime Text with 80% CPU.txt

BenjaminSchaaf commented 3 years ago

Does it happen in safe mode?

antlauzon commented 3 years ago

Seeing intermittent CPU spiking on 4107 on MacOS 10.13.6 as well when running Sublime Text.app. Looks like there are sublime_text sub-processes spawning, chewing up CPU and then dying. Running /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text from the terminal seems to fix the issue.

tingluo996 commented 3 years ago

4113 build on 11.4, similar thing. open ~/, with 4 small file, 300%+ CPU stable (even no doing anything and putting on background)