summaryrefslogtreecommitdiffstats
path: root/container-disc
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@yahoo-inc.com>2016-09-28 08:52:28 +0200
committerHåkon Hallingstad <hakon@yahoo-inc.com>2016-09-28 08:52:28 +0200
commit072501a96473c27538ccb4b846c7df60611711d3 (patch)
tree0fab3558ed3a4b7ae2687da8dc41d2b48f4c8586 /container-disc
parent504399574b97cf6bb095a640eeb0ddaf19f096c7 (diff)
Fix condition <100
Diffstat (limited to 'container-disc')
-rwxr-xr-xcontainer-disc/src/main/sh/vespa-start-container-daemon.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-disc/src/main/sh/vespa-start-container-daemon.sh b/container-disc/src/main/sh/vespa-start-container-daemon.sh
index e48eb82fd9a..6eadb71d698 100755
--- a/container-disc/src/main/sh/vespa-start-container-daemon.sh
+++ b/container-disc/src/main/sh/vespa-start-container-daemon.sh
@@ -65,7 +65,7 @@ configure_memory() {
consider_fallback jvm_baseMaxDirectMemorySize 75
consider_fallback jvm_directMemorySizeCache 0
- if (( jvm_heapSizeAsPercentageOfPhysicalMemory > 0 && jvm_heapSizeAsPercentageOfPhysicalMemory > 0 )) || test "$TOTAL_MEMORY_MB" != ""; then
+ if (( jvm_heapSizeAsPercentageOfPhysicalMemory > 0 && jvm_heapSizeAsPercentageOfPhysicalMemory < 100 )) || test "$TOTAL_MEMORY_MB" != ""; then
if test "$TOTAL_MEMORY_MB" != ""; then
available="$TOTAL_MEMORY_MB"
else