runtime: Bump memory limit in gc_test.

From-SVN: r182332
This commit is contained in:
Ian Lance Taylor 2011-12-14 14:54:32 +00:00
parent c623f8372c
commit 9532fecfc5

View File

@ -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)
}
}