|
@@ -50,7 +50,9 @@ fi
|
|
# The maximum amount of memory to use (in GB). Set the environment
|
|
# The maximum amount of memory to use (in GB). Set the environment
|
|
# variable DUORAM_MAXGB to increase it beyond 16 (don't set it lower
|
|
# variable DUORAM_MAXGB to increase it beyond 16 (don't set it lower
|
|
# than 16).
|
|
# than 16).
|
|
-if [ "$DUORAM_MAXGB" != "" -a "$DUORAM_MAXGB" -gt 16 ]; then
|
|
|
|
|
|
+if [ "$DUORAM_MAXGB" = "" ]; then
|
|
|
|
+ maxgb=16
|
|
|
|
+elif [ "$DUORAM_MAXGB" -gt 16 ]; then
|
|
maxgb=$DUORAM_MAXGB
|
|
maxgb=$DUORAM_MAXGB
|
|
else
|
|
else
|
|
maxgb=16
|
|
maxgb=16
|