summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-11-03 06:53:39 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2022-11-03 06:53:39 +0100
commitea15dbf2d207b7e35c2b6465a004c0e23f02924b (patch)
tree472234a801ced0f111d68791c0cceb25ce452537 /flags
parent84bcfff7395ec15d3c5635b8c22a451bc56eabd8 (diff)
Control the heas size percentage used as default for non-combined application clusters.
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
index 4ea67ccdc73..1da70493e44 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
@@ -44,6 +44,12 @@ public class PermanentFlags {
"Takes effect at redeployment",
ZONE_ID, APPLICATION_ID);
+ public static final UnboundIntFlag HEAP_SIZE_PERCENTAGE = defineIntFlag(
+ "heap-size-percentage", 70,
+ "Sets default jvm heap size percentage",
+ "Takes effect at redeployment",
+ ZONE_ID, APPLICATION_ID);
+
public static final UnboundBooleanFlag FLEET_CANARY = defineFeatureFlag(
"fleet-canary", false,
"Whether the host is a fleet canary.",