diff options
author | Russ Cox <rsc@golang.org> | 2008-09-08 15:22:45 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2008-09-08 15:22:45 -0700 |
commit | 900b670b2e87845e0585c75dc0d8ee9c3693f1c5 (patch) | |
tree | 1be008d95af369b0810170a80ebadd43d3016c10 /test/run | |
parent | c57fc9de20d8d96475e4a36b05a5afb220ee0142 (diff) | |
download | go-900b670b2e87845e0585c75dc0d8ee9c3693f1c5.tar.gz |
limit tests to 4GB of memory.
3G works on thresher, 2G does not
R=r
OCL=14956
CL=14958
Diffstat (limited to 'test/run')
-rwxr-xr-x | test/run | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,10 @@ RUNFILE=/tmp/gorun-$USER TMP1FILE=/tmp/gotest1-$USER TMP2FILE=/tmp/gotest2-$USER +# don't run the machine out of memory: limit individual processes to 4GB. +# on thresher, 3GB suffices to run the tests; with 2GB, peano fails. +ulimit -v 4000000 + for dir in . ken chan bugs fixedbugs do for i in $dir/*.go |