I have installed Jenkins first time. Added Build Action as Run HP Automation Test from File System and Post Build Action as Archiving the HP Results. After the job succeeded, it's throwing me an error "java-out-of memory- Heap space"
Note: This error comes after 2-3 build runs.
I made few changes into the Jenkins.xml under C:\Program Files (x86)\Jenkins
From
<arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 --webroot="%BASE%\war"</arguments>
To
<arguments>-Xrs -Xmx4096m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 --webroot="%BASE%\war"</arguments>
Restart Jenkins.
When I hit http://localhost:8080, then I need to go through the full Jenkins setup again. Like install plugins, setup user etc. This is a painful task. Please help with the permanent solution for java -heap space error.
OS Version - Windows 2007 Jenkins Version - 2.78
c:\jenkinsotherwise you'd need to run jenkins as admin which is not recommended. - Leonard BrüningsC:\Program Files (x86)\Jenkinsas everything underC:\Program Files (x86)requires administrative rights by default. That is why I suggested to install jenkins somewhere else, e.g.,C:\Jenkins, then jenkins should be able to persist its config and you don't have to repeat it every time. - Leonard Brünings