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