removed debug message that broke stack unlimiting

This commit is contained in:
Philip Eisenlohr 2017-05-05 11:49:15 -04:00
parent f6669a4a81
commit 05bd760bc7
1 changed files with 1 additions and 2 deletions

View File

@ -46,8 +46,7 @@ if [ "x$FREE" != "x" ]; then
ulimit -d unlimited 2>/dev/null \
|| ulimit -d $(expr $freeMem / 2) 2>/dev/null # maximum heap size (kB)
ulimit -s unlimited 2>/dev/null \
|| echo "cannot unlimit stack..." \
&& ulimit -s $(expr $freeMem / $DAMASK_NUM_THREADS / 2) 2>/dev/null # maximum stack size (kB)
|| ulimit -s $(expr $freeMem / $DAMASK_NUM_THREADS / 2) 2>/dev/null # maximum stack size (kB)
fi
ulimit -v unlimited 2>/dev/null # maximum virtual memory size
ulimit -m unlimited 2>/dev/null # maximum physical memory size