#Memory footprint 42go and disk usage100% on devcontainer

1 messages · Page 1 of 1 (latest)

rocky jackal
#

Summary
problems with the c++ windsurf extension on wsl devcontainer

What’s happening
100% wsl memory and 100%Disk usage
The problems is only in windsurf, not in standard vscode and is only in dockerized environment -
It seems that windsurf in direct windows file system with the same project do not have the symptoms ( but perhaps extension are not the same)
"top" on linux container says that windsurf language server is taking 42Go ram

Expected behavior
not 100% disk usage
Probably swapping as memory is fulled

Environment

  • OS: Windows under docker WSL container (20go ram affected - and 16core)
  • Device: PC intel intel 13900k 32go ram
  • Windsurf version: last 1.9577.43

Errors / Logs / Diagnosis
i got warning about too much memory usage of windsurf extension
but i didn't copy the message sorry

same environment works right.
That is not the fist time i get this problem
Launching windsurf in the container create immediate 100%disk usage and end with container crash.
Perhaps clangd is the problem - not sure
After many start it seems quite again, but that is problematic

minor spindle
#

Hello @rocky jackal, could you share a diagnostic of your editor when this is happening?

rocky jackal
#

yes when it'll reproduce,
In my experience, it seems to reproduce when i reopen the project in windsurf
It seems to take several minutes to get back to normal, (when it do not crash the container)
So currently my workaround , is to launch windsurf , monitor resources, then when everything go back to normal, start work 🙂

#

i edit the clangd start parameter with -j=1 currently to see if it is better
It really seems like a clangd issue

rocky jackal
#

No i am completely unable to download the diagnostic during the CPU 100% peak - the edit box appears only after the peaks ends.
The CPU 100% (and RAM peak) is reproduced each time i reopen windsurf - it takes around 3-5minutes -
then everything go back to normal

regal marten
#

If you download a diagnostic after the peak that would still be helpful.

rocky jackal
#

hehe, ok i will do that next time 👍

#

i has been a while , but i didn't do anything in windsurf since the start

#

i also get those message in Window output tab:
2026-03-23 08:25:02.964 [warning] [Window] [mainThreadStorage] large extension state detected (extensionId: codeium.windsurf, global: true): 625.2587890625kb. Consider to use 'storageUri' or 'globalStorageUri' to store this data on disk instead.
2026-03-23 08:25:02.965 [warning] [Window] [mainThreadStorage] large extension state detected (extensionId: codeium.windsurf, global: true): 625.2587890625kb. Consider to use 'storageUri' or 'globalStorageUri' to store this data on disk instead.
2026-03-23 08:25:02.967 [warning] [Window] [mainThreadStorage] large extension state detected (extensionId: codeium.windsurf, global: true): 625.2587890625kb. Consider to use 'storageUri' or 'globalStorageUri' to store this data on disk instead.

regal marten
#

Thank you, this will be helpful for our investigation.

#

I recommend deleting it now btw so it's not in the channel forever.

rocky jackal
#

It has been deleted alone no ?

rocky jackal
#

Sorry , it is not the CPU that is 100% , it is the disk activity and RAM Peak - my CPU is ok, i mismatch in the second part of my post