Discussion:
Increase Java heap size of Windows Slave
g***@gmail.com
2018-11-27 14:32:30 UTC
Permalink
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-users+***@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.
Victor Martinez
2018-11-27 17:51:31 UTC
Permalink
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
- https://support.cloudbees.com/hc/en-us/articles/204264000-Why-do-I-receive-java-lang-OutOfMemoryError-PermGen-space
might also help
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/839b8567-041d-470e-afeb-14ac87c3043d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
g***@gmail.com
2018-11-27 18:06:29 UTC
Permalink
Thanks a lot Victor. This helps.
Post by Victor Martinez
It does depend on how that particular windows agent is launched. The below
- https://issues.jenkins-ci.org/browse/JENKINS-3554
-
https://support.cloudbees.com/hc/en-us/articles/204264000-Why-do-I-receive-java-lang-OutOfMemoryError-PermGen-space
might also help
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b2bc2d80-d853-4420-97ad-717d35d6ea45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jeff Thompson
2018-11-27 17:12:17 UTC
Permalink
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
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 view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c1393ce1-03c2-43f4-b7df-58a14bb80ebc%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/c1393ce1-03c2-43f4-b7df-58a14bb80ebc%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/978DF48F-1E34-49DA-8908-FF099846D9BA%40cloudbees.com.
For more options, visit https://groups.google.com/d/optout.
g***@gmail.com
2018-11-27 18:14:15 UTC
Permalink
Yes Jeff. That's where I configured.
JVM Options - "-Xmx3072m"
Post by Jeff Thompson
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
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/c1393ce1-03c2-43f4-b7df-58a14bb80ebc%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/c1393ce1-03c2-43f4-b7df-58a14bb80ebc%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9dad0670-29bd-4597-b40c-578cb1a0ef97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...