首页 > 代码库 > Jenkins部署报weblogic.deploy.api.tools.deployer.DeployerException: Java heap space

Jenkins部署报weblogic.deploy.api.tools.deployer.DeployerException: Java heap space

Jenkins部署报weblogic.deploy.api.tools.deployer.DeployerException: Java heap space异常

解决办法:

技术分享

 

在MAVEN_OPTS中设置一下参数

-Xdebug -Xnoagent -Xms256m -Xmx512m -Djava.compiler=NONE

参数解析

 -D,--define arg    Define a system property -E,--emacs         Produce logging information without adornments -P,--plugin-help   Display help on using a given plugin -X,--debug         Produce execution debug output -b,--nobanner      Suppress logo banner -d,--dir arg       Set effective working directory (ignored with -p or -f) -e,--exception     Produce exception stack traces -f,--find arg      Set project file and effective working directory by finding                    the project file -g,--goals         Display available goals -h,--help          Display help information -i,--info          Display system information -o,--offline       Build is happening offline -p,--pom arg       Set project file -q,--quiet         Reduce execution output -u,--usage         Display help on using the current project -v,--version       Display version information

Jenkins部署报weblogic.deploy.api.tools.deployer.DeployerException: Java heap space