Commit bdf7043d authored by Dan Reading's avatar Dan Reading

support machines with 64Gb ram

parent 22371ed9
......@@ -26,7 +26,9 @@ _1KiB=1
_1KMiB=1024
_256KMiB=262144
_1KGiB=1048576
_16KGiB=16777216
_32KGiB=33554432
_64KGiB=67108864
echo -n ' Starting Memcheck..'
......@@ -89,8 +91,11 @@ case $os in
if (( $collect_flag )) ; then
# punt punt punt
number=${d[1]}
if (( number > $_32KGiB )) ; then
# ((number+=5033126))
if (( number > $_64KGiB )) ; then
((number+=51200))
elif (( number > (($_32KGiB + $_16KGiB)) )); then
((number+=1024000))
elif (( number > $_32KGiB )) ; then
((number+=2048000))
elif (( number > $_1KGiB )) ; then
((number+=31457))
......
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