1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:14:40 -07:00

limit tests to 4GB of memory.

3G works on thresher, 2G does not

R=r
OCL=14956
CL=14958
This commit is contained in:
Russ Cox 2008-09-08 15:22:45 -07:00
parent 7231ceb714
commit 46eb0f7b08

View File

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