Commit dfa91953 authored by Mike Hibler's avatar Mike Hibler
Browse files

Use less memory for frisbee, still running out once in a while

parent 2d07e371
......@@ -67,8 +67,8 @@ fi
# in frisbee
#
HOSTMEM=`dmesg | grep 'avail memory' | sed -e 's/.* (\([0-9]*\)K bytes.*/\1/'`
if [ $HOSTMEM -ge 18432 ]; then
HOSTMEM=`expr $HOSTMEM - 16384`
if [ $HOSTMEM -ge 26624 ]; then
HOSTMEM=`expr $HOSTMEM - 24576`
ulimit -v $HOSTMEM
HOSTMEM=`expr $HOSTMEM / 1024`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment