added German "Speicher" as possible synonym for getting free memory from system call
This commit is contained in:
parent
77f6fd6a16
commit
a031b044eb
|
@ -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`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue