Skip to content

Commit

Permalink
try removing the new xms and xms flags to see if that helps kubernete…
Browse files Browse the repository at this point in the history
…s-model build

see fabric8io/kubernetes-model#232
  • Loading branch information
rawlingsj committed Oct 30, 2017
1 parent 5f4d018 commit 50d7e61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vars/mavenTemplate.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def call(Map parameters = [:], body) {
workingDir: '/home/jenkins/',
resourceLimitMemory: '640Mi',
envVars: [
envVar(key: '_JAVA_OPTIONS', value: '-Duser.home=/root/ -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m'),
//envVar(key: '_JAVA_OPTIONS', value: '-Duser.home=/root/ -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx192m'),
envVar(key: '_JAVA_OPTIONS', value: '-Duser.home=/root/ -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90'),
envVar(key: 'MAVEN_OPTS', value: '-Duser.home=/root/ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'),
envVar(key: 'DOCKER_CONFIG', value: '/home/jenkins/.docker/')])],
volumes: [
Expand Down

0 comments on commit 50d7e61

Please sign in to comment.