[英]Getting OutOfMemoryError: PermGen space whiling executing maven build in jenkins
使用tomcat 7服务器,maven 3,jdk 7触发从git到jenkins的CI构建
Increase your permanent memory space by setting the JVM arguments like this 通过这样设置JVM参数来增加您的永久内存空间
-XX:PermSize=512m -XX:MaxPermSize=1028m
You could also increase the heap size like this 您也可以像这样增加堆大小
-Xms512m -Xmx1g
This would allocate in total of 2 GB memory (1g max for heap space and 1g max for perm generation space) 这将总共分配2 GB内存(堆空间最大1g,电烫产生空间最大1g)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.