The problem is that the current Windows installer is bundled with a 32-bit JRE. If you install a 64-bit JRE and update the path to java.exe in the jenkins.xml file, you should be able to allocate more.
On Fri, Aug 2, 2019, 04:12 Balaajee Perumalsamy <[email protected]> wrote: > Hello All, > > I have an instance of Jenkins running in Windows Server 2012 R2. > I often get JVM Mem Starvation issue in this machine and all my slaves get > terminated. > > The machine has 32GB RAM where as I'm not able to configure -Xmx more than > 1024m. I get the following error. > [image: image.png] > > Has anyone faced/solved this issue. > > Regards, > Balaajee > > -- > 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/CAEO7OYi06kh%3DcVvK7bO0weLJscTASM0-Ei2f%2Barc%3Dip6HbaPbA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAEO7OYi06kh%3DcVvK7bO0weLJscTASM0-Ei2f%2Barc%3Dip6HbaPbA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPiUgVejMiLEBKrOEuC7MV%3D%3DSzzN5hb%3D027D0-6EfViWEKCjeg%40mail.gmail.com.
