runtime: Bump memory limit in gc_test.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 14 Dec 2011 14:54:32 +0000 (14:54 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 14 Dec 2011 14:54:32 +0000 (14:54 +0000)
From-SVN: r182332

libgo/go/runtime/gc_test.go

index 156d3bc7d30264675103696ef2c388be6fd3e74e..63c60379696cfd5f063c574c6ce645e45c30aa18 100644 (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)
        }
 }