Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#6384] fix: Gravitino default JVM config mismatches with comments from gravitino-env.sh (#6385)

Pucheng Yang316efc26184d
diff --git a/bin/common.sh.template b/bin/common.sh.template
index b81710a3fc..a5de3bd38c 100644
--- a/bin/common.sh.template
+++ b/bin/common.sh.template
@@ -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