LoginSignup
0
0

More than 5 years have passed since last update.

SublimeText3でいきなりCPU100%

Posted at

環境

MacOS Sierra 10.12.5
SublimeText3 build 3126

起こったこと

CPU100%超え。再起動しても、プラグイン消しても治らず。。。

起こったタイミング

どのタイミングでなったのか定かではないが、composerでいれたvendor内のファイルを開いた時?

調査

Console.appを開いて何かヒントがないか一応見た。が「... thread 34986 caught burning CPU! ....」以外の手がかり無し?
ちなみにこんなのもでていた「Updating RESOURCE_NOTIFY report statistics for RESOURCE_NOTIFY : EXC_CPU_USAGE : NON-FATAL : Sublime Text」

対応

一時しのぎだが「Preferences > Settings」に「"index_files": false」を追加。

所感

index_filesにfalseとするよりも、該当ディレクトリを特定し、index_exclude_patternsで除外した方がよい。

参考

PHP 100% CPU usage with Sublime Text 3
Sublime Text 3 File Indexing
How can I exclude a folder from indexing in Sublime Text, while still showing it in the sidebar?

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0