summaryrefslogtreecommitdiffstats
path: root/container-disc
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-10-15 16:25:31 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2019-10-15 16:26:21 +0200
commitbbd40d19427e349329f5909199eda59469063f5c (patch)
treec8b35d37a3d950eccc83882d11f728e7d3a3a42a /container-disc
parent4790760429263e5606bdce87a1ac75cdfd08483b (diff)
Log a message about the misconfiguration.
Diffstat (limited to 'container-disc')
-rwxr-xr-xcontainer-disc/src/main/sh/vespa-start-container-daemon.sh1
1 files changed, 1 insertions, 0 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 aa0a1293ef5..f6a1388e34f 100755
--- a/container-disc/src/main/sh/vespa-start-container-daemon.sh
+++ b/container-disc/src/main/sh/vespa-start-container-daemon.sh
@@ -85,6 +85,7 @@ configure_memory() {
# Safety measure against bad of min vs max heapsize.
if ((jvm_minHeapsize > jvm_heapsize)); then
jvm_minHeapsize=${jvm_heapsize}
+ echo "Misconfigured heap size, jvm_minHeapsize(${jvm_minHeapsize} is larger than jvm_heapsize(${jvm_heapsize}). It has been capped."
fi
maxDirectMemorySize=$(( jvm_baseMaxDirectMemorySize + jvm_heapsize / 8 + jvm_directMemorySizeCache ))