From: Russ Cox Date: Mon, 8 Sep 2008 22:22:45 +0000 (-0700) Subject: limit tests to 4GB of memory. X-Git-Tag: weekly.2009-11-06~3264 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=46eb0f7b08a93045dba6485ed365bc4ad7d33675;p=gostls13.git limit tests to 4GB of memory. 3G works on thresher, 2G does not R=r OCL=14956 CL=14958 --- diff --git a/test/run b/test/run index dd243120e8..8013efe4ab 100755 --- a/test/run +++ b/test/run @@ -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