From ea15dbf2d207b7e35c2b6465a004c0e23f02924b Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Thu, 3 Nov 2022 06:53:39 +0100 Subject: Control the heas size percentage used as default for non-combined application clusters. --- flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'flags') 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.", -- cgit v1.2.3