How to Allocate more memory to jenkins application

364 views
Skip to first unread message

LnT

unread,
Mar 7, 2018, 5:40:57 AM3/7/18
to Jenkins Users


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

Victor Martinez

unread,
Mar 7, 2018, 8:05:35 AM3/7/18
to Jenkins Users
There are a couple of interesting posts which might help you out:

Cheers
Reply all
Reply to author
Forward
0 new messages