Skip to content

Commit 365886f

Browse files
puchengyAbyss-lord
authored andcommittedFeb 6, 2025
[apache#6384] fix: Gravitino default JVM config mismatches with comments from gravitino-env.sh (apache#6385)
<!-- 1. Title: [#<issue>] <type>(<scope>): <subject> Examples: - "[apache#123] feat(operator): support xxx" - "[apache#233] fix: check null before access result in xxx" - "[MINOR] refactor: fix typo in variable name" - "[MINOR] docs: fix typo in README" - "[apache#255] test: fix flaky test NameOfTheTest" Reference: https://www.conventionalcommits.org/en/v1.0.0/ 2. If the PR is unfinished, please mark this PR as draft. --> ### What changes were proposed in this pull request? Update Gravitino JVM memory default. ### Why are the changes needed? Fix: apache#6384 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? No test
1 parent 35f228d commit 365886f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎bin/common.sh.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function addDirToClasspath(){
106106
}
107107

108108
if [[ -z "${GRAVITINO_MEM}" ]]; then
109-
export GRAVITINO_MEM="-Xmx1024m"
109+
export GRAVITINO_MEM="-Xms1024m -Xmx1024m -XX:MaxMetaspaceSize=512m"
110110
fi
111111

112112
if [[ -n "${JAVA_HOME}" ]]; then

0 commit comments

Comments
 (0)
Failed to load comments.