Hi, Thomas. If it's a matter of Jenkins itself crashing and giving you the 
OOM error, you probably just need to set options on the server. If you're 
starting it through a batch file, it probably needs to look something like 
this:

java -DJENKINS_HOME=C:\path\to\jenkins\home\directory 
-Djava.awt.headless=true -XX:MaxPermSize=200m -XX:+CMSClassUnloadingEnabled 
-XX:+CMSPermGenSweepingEnabled -jar C:\path\to\jenkins.war

200m should be more than enough for MaxPermSize. Play with that value if 
this doesn't work immediately.

-- Jerry



On Thursday, September 12, 2013 3:48:26 AM UTC-4, Thomas wrote:
>
> Hi All,
>
> I am repeatedly facing PermGen space errors with my jenkins server.
> My server is installed as a windows service, scheduling build jobs to 4 
> slave nodes (windows and mac).
>
> I have found this link:
> https://wiki.jenkins-ci.org/display/JENKINS/I'm+getting+OutOfMemoryError
>
> But I'm not clear on how to solve this issue:
> - How to set options for the JVM when running windows batch or shell 
> scripts ?
> - Must I set these options on server only, slave nodes only or both ?
>
> Thanks for helping,
> Thomas
>
>
>
>
>
> -- 
>
> Sound Cloud - http://soundcloud.com/dilig0
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to