This is an automated email from the ASF dual-hosted git repository.

fanng pushed a commit to branch branch-0.8
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.8 by this push:
     new 3f4efa5f9b [#6384] fix: Gravitino default JVM config mismatches with 
comments from gravitino-env.sh (#6391)
3f4efa5f9b is described below

commit 3f4efa5f9be098bdd1a32b40719ad58e989020c5
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Feb 5 15:57:00 2025 +0800

    [#6384] fix: Gravitino default JVM config mismatches with comments from 
gravitino-env.sh (#6391)
    
    ### What changes were proposed in this pull request?
    
    Update Gravitino JVM memory default.
    
    ### Why are the changes needed?
    
    Fix: https://github.com/apache/gravitino/issues/6384
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    No test
    
    Co-authored-by: Pucheng Yang <8072956+puche...@users.noreply.github.com>
---
 bin/common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/common.sh b/bin/common.sh
index a6f002ad91..7a2c0ea549 100644
--- a/bin/common.sh
+++ b/bin/common.sh
@@ -97,7 +97,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

Reply via email to