瀏覽代碼

HADOOP-17964. Increase Java heap size for running Maven in Dockerfile of branch-2.10. (#3545)

Masatake Iwasaki 3 年之前
父節點
當前提交
b8dc05efcd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dev-support/docker/Dockerfile

+ 1 - 1
dev-support/docker/Dockerfile

@@ -203,7 +203,7 @@ RUN curl -L -s -S \
 ###
 # Avoid out of memory errors in builds
 ###
-ENV MAVEN_OPTS -Xms256m -Xmx1536m -Dhttps.protocols=TLSv1.2 -Dhttps.cipherSuites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
+ENV MAVEN_OPTS -Xms256m -Xmx2048m -XX:MaxPermSize=512m -Dhttps.protocols=TLSv1.2 -Dhttps.cipherSuites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
 
 
 ###