title: How do I give Jenkins more heap space when it's running as a daemon on Ubuntu?
body: <p>My Jenkins jobs are running out of memory, giving <code>java.lang.OutOfMemoryError</code> messages in the build log. But I used the Ubuntu Package Manager, <code>aptitude</code>, or <code>apt-get</code> to install Jenkins, and I don't know where to look to change the amount of heap space allocated to Jenkins.</p>