diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2024-04-09 03:09:34 +0000 |
|---|---|---|
| committer | Michael Knyszek <mknyszek@google.com> | 2024-04-10 18:53:01 +0000 |
| commit | 3504da456591acf1b1ab479d4a5b2c91345a7f22 (patch) | |
| tree | b64ad4e2d25405c68e4385bd9ec24d37d89c5228 /src/database/sql/sql_test.go | |
| parent | 5bba5b256ce287736da60372c5cf634395d7b1a3 (diff) | |
| download | go-3504da456591acf1b1ab479d4a5b2c91345a7f22.tar.xz | |
internal/trace/v2: halve the memory footprint of TestGCStress
This test has been OOMing on 32-bit platforms for a bit. I suspect the
very high allocation rate is causing the program to outrun the GC in
some corner-case scenarios, especially on 32-bit Windows.
I don't have a strong grasp of what's going on yet, but lowering the
memory footprint should help with the flakiness. This shouldn't
represent a loss in test coverage, since we're still allocating and
assisting plenty (tracing the latter is a strong reason this test
exists).
For #66624.
Change-Id: Idd832cfc5cde04701386919df4490f201c71130a
Reviewed-on: https://go-review.googlesource.com/c/go/+/577475
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
