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
If using SSH remote, specify OS of remote machine: None
Bug Summary and Steps to Reproduce
Bug Summary:
Open a large project, such as aosp, the maximum memory usage exceeds 20G (computer 32G), VSCode settings are configured with a maximum 2G cache. The computer often freezes, how can I solve this problem
I've read an old issue just a moment ago while looking for a solution myself (yesterday got 16GB usage on a yocto project) #5227, and this comment mentions a possible solution (depending on your project)
I've read an old issue just a moment ago while looking for a solution myself (yesterday got 16GB usage on a yocto project) #5227, and this comment mentions a possible solution (depending on your project)
Thanks, but there will still be memory leaks when I deal with them in their way. Unless the C++ plugin is turned off
Is there an open source project that repros this problem? Does setting the browse.path to empty ([]) solve the issue, i.e. is it caused by lots of files being added to the database? We don't know yet what is causing the high memory usage in cpptools. High memory usage is only expected if child cpptools-srv processes are taken into account.
Is there an open source project that repros this problem? Does setting the browse.path to empty ([]) solve the issue, i.e. is it caused by lots of files being added to the database? We don't know yet what is causing the high memory usage in cpptools. High memory usage is only expected if child cpptools-srv processes are taken into account.
Activity
Stojek139808 commentedon May 12, 2023
I've read an old issue just a moment ago while looking for a solution myself (yesterday got 16GB usage on a yocto project)
#5227, and this comment mentions a possible solution (depending on your project)
Otpvondoiats commentedon May 12, 2023
sean-mcmanus commentedon May 12, 2023
Is there an open source project that repros this problem? Does setting the browse.path to empty ([]) solve the issue, i.e. is it caused by lots of files being added to the database? We don't know yet what is causing the high memory usage in cpptools. High memory usage is only expected if child cpptools-srv processes are taken into account.
Otpvondoiats commentedon May 15, 2023
hi, https://github.com/apache/nuttx or google opensource aosp
Otpvondoiats commentedon May 15, 2023
now, cpptool 14.5GiB

74 remaining items
startergo commentedon Aug 23, 2026
ms-vscode.cpptool
Version
1.33.8 has a huge memory leak. VSCode on Tahoe 26.5
IntelliSense server pegged the CPU and flooded each window's extension. Five C++ windows ~65GB, exhausted the 48GB swap cap.
td-michal-kepka commentedon Aug 26, 2026
Yes, I have this problem too. Downgrading to 1.32.2 helps.
mixa3607 commentedon Sep 4, 2026