added German "Speicher" as possible synonym for getting free memory from system call

This commit is contained in:
Tobias Binder 2014-05-23 13:15:02 +00:00
parent 77f6fd6a16
commit a031b044eb
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ fi
# according to http://software.intel.com/en-us/forums/topic/501500 # according to http://software.intel.com/en-us/forums/topic/501500
# this seems to make sense for the stack size # this seems to make sense for the stack size
freeMem=`free -k | grep Mem: | awk '{print $4;}'` freeMem=`free -k | grep -E '(Mem|Speicher):' | awk '{print $4;}'`
heap=`expr $freeMem / 2` heap=`expr $freeMem / 2`
stack=`expr $freeMem / $DAMASK_NUM_THREADS / 2` stack=`expr $freeMem / $DAMASK_NUM_THREADS / 2`