Increase Heap for Jenkins installed in Windows Server 2012 R2

9 views
Skip to first unread message

Balaajee Perumalsamy

unread,
Aug 2, 2019, 7:12:15 AM8/2/19
to jenkins...@googlegroups.com
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.png

Has anyone faced/solved this issue.

Regards,
Balaajee 

Slide

unread,
Aug 2, 2019, 8:22:22 AM8/2/19
to Jenkins User Mailing List
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.

--
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/CAEO7OYi06kh%3DcVvK7bO0weLJscTASM0-Ei2f%2Barc%3Dip6HbaPbA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages