/tmp/edg0_# Files Still Taking Up Memory #12288
Labels
bug
enhancement
Improvement to an existing feature
Language Service
Visual Studio
Inherited from Visual Studio
Environment
"Help->About" copied from VSCode
Bug Summary and Steps to Reproduce
Bug Summary:
Basically the same as #3633 . A good summary is in #3633 (comment)
Basically there is no way to configure where to store the
tmp/edg
cache files. And those files can be huge and occupying spaces depending on how the/tmp
is mounted.Steps to reproduce:
lsof /tmp
tmpfs
). Those files are opened by cpptools-srv/tmp/edg0_${PID}
locations. Note that theC_Cpp.intelliSenseCachePath
is not "/tmp", so the edg0 caches are not controlled by this option.Expected behavior:
Either properly close the deleted/unlinked cache file, or give users an option to use another directory for the edg0 cache.
Another workaround to use mount namespaces to let vscode to use a special
/tmp
dir. Example:Configuration and Logs
c_cpp_log_diagnostics.log
c_cpp_language_server_debug.log
The text was updated successfully, but these errors were encountered: