Skip to content

Commit 1d494bb

Browse files
committed
[SPARK-52668] Set (Initial|Max)RAMPercentage to 80% by default
1 parent ad6ba0d commit 1d494bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/helm/spark-kubernetes-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ operatorDeployment:
4141
# https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
4242
topologySpreadConstraints: [ ]
4343
operatorContainer:
44-
jvmArgs: "-Dfile.encoding=UTF8 -XX:+ExitOnOutOfMemoryError -XX:+UseParallelGC"
44+
jvmArgs: "-Dfile.encoding=UTF8 -XX:+ExitOnOutOfMemoryError -XX:+UseParallelGC -XX:InitialRAMPercentage=80 -XX:MaxRAMPercentage=80"
4545
env:
4646
- name: "SPARK_USER"
4747
value: "spark"

0 commit comments

Comments
 (0)