Jenkis, the famous CI (Continuous Server) throws out the following error recently and occasionally.
FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space
The solution is to edit the jenkins.xml (in the Jenkins installation folder) and replace:
-Xrs -Xmx512m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080
with
-Xrs -Xmx1024m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080
Then, the Jenkins should be restarted safely, or you can do it by restarting the service (not recommended).
–EOF (The Ultimate Computing & Technology Blog) —
GD Star Rating
loading...
168 wordsloading...
Last Post: 32-bit Visual Studio and Delphi 2007/XE8 Eat Memory (any 64-bit IDE)?
Next Post: File Cannot Be Deleted - File in Use