mirror of
https://github.com/golang/go
synced 2024-11-18 19:34:41 -07:00
b0390335f4
We've had various reports of high memory usage in gopls. Catching it in the act can be difficult, so check every second and write relevant profiles to os.TempDir every time the heap reaches a new watermark. Note that the logging in this package is broken. I didn't fix it, so nobody will know this is happening until we tell them. So it goes. Change-Id: I972d7ccfe5308658f86dde717465f0e0151b396d Reviewed-on: https://go-review.googlesource.com/c/tools/+/218858 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
info.1.11.go | ||
info.1.12.go | ||
info.go | ||
metrics.go | ||
rpc.go | ||
serve.go | ||
trace.go |