红联Linux门户
Linux帮助

CentOS jenkins报错PermGen space

发布时间:2017-03-05 10:00:24来源:linux网站作者:feiniao8651
系统环境如下:
1.CentOS 5.11
2.Jenkins 2.7
 
/var/log/jenkins.log报错:
Mar 05, 2017 4:55:03 AM hudson.util.ExceptionCatchingThreadFactory uncaughtException
WARNING: Thread FilePath.localPool [#67] terminated unexpectedly
java.lang.OutOfMemoryError: PermGen space
 
解决方法:
vim /etc/sysconfig/jenkins
JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Xmx1024m -XX:MaxPermSize=512m"
 
参考PermGen Space issue in Jenkins(英文):
CentOS jenkins报错PermGen space
 
本文永久更新地址:http://www.linuxdiyf.com/linux/28910.html