How to give Jenkins more heap space when it´s started as a service under Windows?
I want to increase the available heap space for Jenkins. But as it is installed as a service I don´t know how to do it. In your Jenkins installation directory there is a jenkins.xml, where you can set various options. Add the parameter -Xmx with the size you want to the arguments-tag (or increase the size if its already there). If you used Aptitude (apt-get) to install Jenkins on Ubuntu 12.04, uncomment the JAVA_ARGS line in the top few lines of /etc/default/jenkins : # arguments to pass to java #JAVA_ARGS="-Xmx256m" # <--default value JAVA_ARGS="-Xmx2048m" #JAVA_ARGS="-Djava.net