[Mac] Runaway CPU usage from 'rg' after opening home directory #51757
Labels
info-needed
Issue requires more information from poster
perf
search
Search widget and operation issues
I opened by home directory
~/
in VSCode to edit a few bash / git config files and noticed my fans were spinning up and my laptop getting hot. After 10 or so minutes I restarted, opened VSCode and left it running in the background while I checked my email, only to notice the fans were spinning up again.Activity Monitor shows the following usage:
This process,
rg
, is owned by VSCode and some searching shows it's for indexing. I ransudo opensnoop -n rg
to see what it was up to, noticed it was indexing cache, my photos, all sorts of random stuff, then realized it was indexing my whole user directory / library and this is what was killing my CPU.Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: