Showing posts from April, 2018

Jenkins-out of memory

Sometime, It will occur error while CI do a build job.As the following message. jenkins java.lang.OutOfMemoryError: Java heap space Before, when it occurred.I always thought that was the Java environment problem.Therefore my workaround is restart service. Honestly, I am not understanding Jenkins enough, a little bit lazy myself and so not seriously to find the answer. Workaround The default RAM setting is 256MB which can be found in the setup directory "jenkins.xml".As below image, I modify the value to 1024MB. Reference