Closed
Description
What version of Go are you using (go version
)?
go version devel +9f7f82ee86 Thu May 30 17:29:58 2019 -0400 linux/amd64
Does this issue reproduce with the latest release?
Yes
What did you do?
Ran thousands of benchmarks over several days using compilebench, each with a slightly different compiler.
What did you expect to see?
Not 200 gigabytes of Go cache contents accumulated over time, completely filling the disk.
What did you see instead?
200 gigabytes of Go cache and a full disk.
go clean -cache
solved the problem, but it took a few minutes, and I almost hurt myself laughing.
I realize this is not a typical use case, and I've added a preventive go clean -cache
to my benchmarking script, but if there's an easy check for this we ought to do it.