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, [email protected] 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 [email protected] > <mailto:[email protected]>. > 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 [email protected]. 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.
