简体   繁体   中英

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

-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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM