nRF Connect for VS Code v2023.11.24 - macOS Big Sur - rg process taking all the CPU

On macOS Big Sur (11.7.10), nRF Connect for VS Code versions later the v2023.7.129 cause a large number of  "rg" processes to be spawned that consume all the CPU. This grinds the whole UI to a very slow motion.  

All nRF Connect for VS Code extension versions since v2023.7.169 to v2023.11.24 have this slow motion UI issue on macOS Big Sur (11.7.10).

The runaway "rg" processes taking all the macOS CPU resources is consistently reproducible.

I would greatly appreciate if the problem can be investigated and a resolution identified.


Thank you.

Parents Reply
  • Here is the reply from our VS Code team:

    I see the user has 44 applications in the workspace that in itself probably slows down VSCode. I'd suggest to create separate workspaces or just open a single application folder in separate window for much snappier experience, unless there is a specific need to handle all applications at the same time. If so many folders are open, any unrestricted search or indexing operation (from other extensions as well) must operate on all folders.

     I also see the user has other extensions installed that might not be relevant, I'd suggest to review what extensions are needed per workspace, perhaps disable them in this workspace or globally, and maybe enable them in other workspace where they are be needed.

    Please test with a clean work space and also review the extensions that you have installed. There isn't much we can do from our side as we are not aware what causes this behavior.

    Kind regards,
    Øyvind

Children
  • Hi Øyvind,


    Using a clean work space works fine.

    However, with the current workspace applications and if I revert back to "nRF Connect for VS Code version v2023.7.129", I don't have any issues at all. So, I suspect there may be some configuration change in the nRF Connect for VS Code that triggers more "rg" recursive searches.

    I'll try reducing the number of applications in the workspace. The other extensions I need for the other nRF boards development.


    Thank you.

  • Hi Øyvind,

    With the number of applications reduced in my workspace, the slowness issues have been resolved.

    As per your recommendation, keeping the number of applications in a workspace low is better to VSCode recursive searches down.

    Please close the ticket.

    Thank you.

Related