You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem I have with IntelliSense is that for a large software project it uses extreme amounts of memory after a while, until the whole computer becomes unresponsive. The only solution is to kill the problematic cpptools.exe processes.
The problem probably is caused by the fact that IntelliSense decides to index all the files under a common root directory. There are lots of source directories in different Git repositories. But in the collection of folders that I have opened in a specific VS Code workspace this common root directory is not opened as a folder. Only several selected sub-folders of the common root directory are in the workspace.
How can I find out why IntelliSense decides to include the problematic common root folder in the "Processing folder (recursive):" list in the C/C++ debug output? It is possible that there's a bug that this directory is referenced unintentionally from one of our CMakeLists.txt files for example, but we were not able to locate this yet. I have checked for example the compile_commands.json file, and there the problematic directory is not listed as an include path.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The problem I have with IntelliSense is that for a large software project it uses extreme amounts of memory after a while, until the whole computer becomes unresponsive. The only solution is to kill the problematic
cpptools.exe
processes.The problem probably is caused by the fact that IntelliSense decides to index all the files under a common root directory. There are lots of source directories in different Git repositories. But in the collection of folders that I have opened in a specific VS Code workspace this common root directory is not opened as a folder. Only several selected sub-folders of the common root directory are in the workspace.
How can I find out why IntelliSense decides to include the problematic common root folder in the "Processing folder (recursive):" list in the C/C++ debug output? It is possible that there's a bug that this directory is referenced unintentionally from one of our CMakeLists.txt files for example, but we were not able to locate this yet. I have checked for example the
compile_commands.json
file, and there the problematic directory is not listed as an include path.Beta Was this translation helpful? Give feedback.
All reactions