It make sense to run out of PermGen space after upgrading. Presumably, the upgrade has more classes to load, which fills up your PermGen space.
If you're using HotSpot 1.6, I believe (but could be wrong) that the option is -XX:MaxPermSize={size}. For 1.6, the default size is 64m, so you may want to try -XX:MaxPermSize=128m. I've seen the same Content Encoding Error you mention below, but I don't know what it means or if it's related to the PermGen space thing. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kamal Ahmed Sent: Friday, February 08, 2013 8:53 AM To: jenkinsci-users@googlegroups.com Subject: Re: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500 This was working with the same amount of PermGen Space yesterday BEFORE the upgrade. jenkins JVM options: /usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/var/lib/jenkins --output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid -- /usr/bin/java -Xmx2048m -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=9000 --ajp13Port=-1 /usr/bin/java -Xmx2048m -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=9000 --ajp13Port=-1 Thiis is what i see when i do ps -ef | grep java Java version: java version "1.6.0_35" Java(TM) SE Runtime Environment (build 1.6.0_35-b10) Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode) after i let the Jenkins stay initially at the main , i get the following error in by browser ( this is in addition to the CPU being pegged 100% ) Content Encoding Error The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. Please contact the website owners to inform them of this problem. Some build's ago in 2009, i saw someone complain about the exact coding error, and it was a plugin issue that Kohsuke fixed in the release plugin. Thanks, -Kamal. ________________________________ From: "Mandeville, Rob" <rmandevi...@litle.com<mailto:rmandevi...@litle.com>> To: "jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>" <jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>> Sent: Friday, February 8, 2013 8:02 AM Subject: RE: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500 If you're running out of PermGen space, your problem is with your JVM. Your CPU may be getting pegged because your JVM is desperately garbage collecting to get every last byte of storage left, but I could be wrong. Basically, you're going to have to tell the JVM running your Jenkins instance to give you more PermGen space. Find out (if you don't already know) which application server you're running Jenkins with (if you're launching it like "java -jar Jenkins.war", you're using the onboard WinStone app server), and which JVM you're running that server in. You'll have to determine how much PermGen space you're allocating (likely the default that your JVM gives) and how to tell the JVM running your App server to give it more. Again, if you're launching Jenkins as a plain Java app and using WinStone, you can add the PermGen space arguments right to the Java command line. --Rob From: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kamal Ahmed Sent: Friday, February 08, 2013 7:47 AM To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> Subject: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500 Hi, After i upgraded Jenkins to 1.500 on ubuntu 12.04 host. I am getting java.lang.OutOfMemoryError: PermGen space After i click any link on Jenkins page, the CPU gets pegged 100% This also happens when i let the page stay there and not click on anything. Anyone found a resolution for this? Thanks, -Kamal. -- The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.