You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by di...@apache.org on 2026/05/21 07:28:46 UTC

(ranger) 01/01: RANGER-5605 : Fix Ranger build failure when triggered through Docker

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

dineshkumar-yadav pushed a commit to branch sandbox/dineshkumar-yadav/RANGER-5605
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 6d3c34b49aa888111739a48f4f88c5d02125ec0f
Author: Dineshkumar Yadav <di...@outlook.com>
AuthorDate: Thu May 21 12:55:12 2026 +0530

    RANGER-5605 : Fix Ranger build failure when triggered through Docker
---
 dev-support/ranger-docker/scripts/build/ranger-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-support/ranger-docker/scripts/build/ranger-build.sh b/dev-support/ranger-docker/scripts/build/ranger-build.sh
index 0d3d75ea6..0aaf53624 100755
--- a/dev-support/ranger-docker/scripts/build/ranger-build.sh
+++ b/dev-support/ranger-docker/scripts/build/ranger-build.sh
@@ -44,7 +44,7 @@ then
   BUILD_HOST_SRC=true
 fi
 
-export MAVEN_OPTS="-Xms2g -Xmx2g"
+export MAVEN_OPTS="-Xms512m -Xmx5g -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:SoftRefLRUPolicyMSPerMB=50 ${JAVA_OPTS}"
 export M2=/home/ranger/.m2