osx - Updating the Perm Gen Memory Jenkins - MacOSX -
i trying update perm gen memory in jenkins, have read adding org.jenkins.plist
file trick not changing me:
<key>-xx:permsize</key> <string>512m</string> <key>-xx:maxpermsize</key> <string>1024m</string>
when use jenkins monitoring tool still tells me that:
perm gen memory: 81mb
am doing wrong?
thanks
according http://mgrebenets.github.io/mobile%20ci/2015/02/01/jenkins-ci-server-on-osx, should using <string> not <key>, eg:
<string>-xx:maxpermsize=1024m</string>
<key> denotes section. in case, setting program arguments fall under <key>programarguments</key> section. specified key sections confusing launcher. @ link complete example , compare yours.
abridged example:
<plist version="1.0"> <dict> <key>label</key> <string>homebrew.mxcl.jenkins</string> <key>programarguments</key> <array> ..... more props here... <string>-xx:maxpermsize=256m</string> .... more props here </array> ... more stuff here... </dict>
also note instructions properly restarting (unloading/loading) instance changes applied. once restart it, confirm options set translated command line:
ps aux | grep java
the properties should formatted follows:
-xx:permsize=512m -xx:maxpermsize=1024m
Comments
Post a Comment