Jenkins部署报weblogic.deploy.api.tools.deployer.DeployerException: Java heap space
Posted 斷弦悠揚
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章