How to Allocate more memory to jenkins application

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to Allocate more memory to jenkins application

tlnarayana


Hi,


Please find below script to start Jenkins master.

java -Xrs:Xmx2048m -XX:MaxPermSize=512m -DJENKINS_HOME=<MY_jenkins_HOME> -jar jenkins.war --httpPort=80  --sessionTimeout=360

SERVER is : Win7 (32Bit) - 4GB RAM

current jenkins app keep getting Slow/Hung for every 3 to 4days. I had to restart.

Could you please advise , how to allocate more memory to jenkins process ?
Or
Pleas advice anything , to ensure Jenkins app works efficiently.

Regards,
LnT

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5c3bcddc-3626-425e-9846-e8c04aa7a381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to Allocate more memory to jenkins application

Victor Martinez
There are a couple of interesting posts which might help you out:

- https://jenkins.io/blog/2016/11/21/gc-tuning/
- https://www.cloudbees.com/so-you-want-build-worlds-biggest-jenkins-cluster .  (see the slide 'Sizing the JVM heap…')

Cheers

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/57b577b4-5466-4ac1-94ce-6b449d9f175e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.