Skip to content
Browse files

Max OS X: allow to configure the daemon max PermGen using standard pr…

…eferences
  • Loading branch information...
1 parent 7e2500c commit fb9f0679c7c75ea1e6c85bbe4f663896714bf63e @lacostej lacostej committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 osx/Library/Application Support/Jenkins/jenkins-runner.sh
View
1 osx/Library/Application Support/Jenkins/jenkins-runner.sh
@@ -16,6 +16,7 @@ war=`$defaults war` || war="/Applications/Jenkins/jenkins.war"
javaArgs=""
heapSize=`$defaults heapSize` && javaArgs="$javaArgs -Xmx${heapSize}"
+permGen=`$defaults permGen` && javaArgs="$javaArgs -XX:MaxPermSize=${permGen}"
home=`$defaults JENKINS_HOME` && export JENKINS_HOME="$home"

0 comments on commit fb9f067

Please sign in to comment.
Something went wrong with that request. Please try again.