Increase Java heap size of Windows Slave

357 views
Skip to first unread message

gotvi...@gmail.com

unread,
Nov 27, 2018, 9:32:30 AM11/27/18
to Jenkins Users
We have a Windows 2016 Slave.  The slave gets disconnected due to heap memory maxing out.  How to increase the heap size to tackle this issue?  This is a bit urgent please.

Victor Martinez

unread,
Nov 27, 2018, 12:51:31 PM11/27/18
to Jenkins Users
It does depend on how that particular windows agent is launched. The below references can help you:
https://issues.jenkins-ci.org/browse/JENKINS-3554

gotvi...@gmail.com

unread,
Nov 27, 2018, 1:06:29 PM11/27/18
to Jenkins Users
Thanks a lot Victor.  This helps.

Jeff Thompson

unread,
Nov 27, 2018, 1:07:10 PM11/27/18
to jenkins...@googlegroups.com
I suggest you try configuring it at the configuration page for the node in Jenkins. Look under the Advanced button for JVM options.

Jeff Thompson

On Nov 27, 2018, at 7:32 AM, gotvi...@gmail.com wrote:

We have a Windows 2016 Slave.  The slave gets disconnected due to heap memory maxing out.  How to increase the heap size to tackle this issue?  This is a bit urgent please.

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c1393ce1-03c2-43f4-b7df-58a14bb80ebc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gotvi...@gmail.com

unread,
Nov 27, 2018, 1:14:15 PM11/27/18
to Jenkins Users
Yes Jeff.  That's where I configured.
JVM Options - "-Xmx3072m"
Reply all
Reply to author
Forward
0 new messages