My Jenkins jobs are running out of memory, giving java.lang.OutOfMemoryError messages in the build log. But I used the Ubuntu Package Manager, aptitude, or apt-get to install Jenkins, and I don’t know where to look to change the amount of heap space allocated to Jenkins. Answer There are two types of OutOfMemoryError messages that you might encounter while a Jenkins