Skip to content

Commit

Permalink
[apache#6384] fix: Gravitino default JVM config mismatches with comme…
Browse files Browse the repository at this point in the history
…nts 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
  • Loading branch information
puchengy authored Feb 4, 2025
1 parent 342a666 commit 316efc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/common.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function addDirToClasspath(){
}

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

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

0 comments on commit 316efc2

Please sign in to comment.