diff --git a/src/pkg/runtime/gc_test.go b/src/pkg/runtime/gc_test.go index 156d3bc7d30..63c60379696 100644 --- a/src/pkg/runtime/gc_test.go +++ b/src/pkg/runtime/gc_test.go @@ -22,7 +22,7 @@ func TestGcSys(t *testing.T) { sys = runtime.MemStats.Sys - sys } t.Logf("used %d extra bytes", sys) - if sys > 2<<20 { + if sys > 4<<20 { t.Fatalf("using too much memory: %d bytes", sys) } }