#!stacks
"runtime.bgsweep" && "runtime.newArenaMayUnlock:+6" && "runtime.throw"

Issue created by stacks.

I suspect this is another manifestation of #70445, but I thought I should report it since the call stack is completely different.

This stack F860lA was reported by telemetry:

golang.org/x/tools/gopls@v0.17.1 go1.23.4 windows/amd64 vscode (1)

Dups: I6dE0Q

Comment From: gabyhelp

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Comment From: mknyszek

This just seems like a regular OOM. On Windows all system-allocated memory must be committed up-front, so syscalls actually start failing (unlike Linux, where page faults try to page in more physical memory and that's the signal). So, it's impossible to tell from this whether the OOM is due to the person running gopls just ate up their own memory with various apps or gopls was using too much memory, unfortunately. But we don't think this is a bug in the runtime.

Comment From: findleyr

Keeping this open but moving to the backlog, since it is currently unactionable. (I'd close it, but absent other mechanisms to track OOMs, let's keep recording stacks here)

Comment From: adonovan

This stack I6dE0Q was reported by telemetry:

golang.org/x/tools/gopls@v0.20.0 go1.24.5 windows/amd64 vscode (1)