That's good to know about finding a good MaxPermSize argument. I'm not that experienced running JVMs so I wasn't aware of that parameter. The Jenkins wiki doesn't seem to mention it except in referring to Oracle docs. I don't think I've come across 'OutOfMemoryError: PermGen space'. Is there a particular way of using Jenkins is more likely to hit that? Maybe I haven't had that problem because I don't rely on many plugins. Daniel Beck wrote: > I like my -XX:MaxPermSize java argument to be bigger than what these tools > report over long term is the maximum actual permanent generation size. I > expect fewer 'OutOfMemoryError: PermGen space' that way. > > They might also help finding the responsible plugin if things go wrong so it > doesn't happen twice. It's not like ugly problems don't surface from time to > time in Jenkins, especially if you're using many plugins. And I cannot > arbitrarily restart my instance if things like these occur due to very long > running builds that shouldn't be aborted. > > I started out with OpenJDK, then had some issue and tried using jmap to > investigate, and got the error message. Not a great experience. So unless you > can point to something OpenJDK is actually better in, I prefer the JVM with > tools that aren't known to be broken. > > On 14.12.2013, at 12:41, Jonathan Rogers <[email protected]> wrote: > >> What does this have to do with running Jenkins? AFAICT, jmap is a >> debugging tool. It may be useful for Jenkins developers, but does it >> have any relevance to running Jenkins ordinarily? >> >> Daniel Beck wrote: >>> On RHEL 6 OpenJDK 7, jmap doesn't (or didn't) work: >>> http://stackoverflow.com/q/16587460 >>> >>> So I switched to Oracle, which didn't have this issue. No idea whether it's >>> RHEL specific or a general OpenJDK issue though. >>> >>> On 12.12.2013, at 01:56, Klaus Schniedergers <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> do you have experiences and opinions on whether to run Jenkins on >>>> Oracle's JDK vs OpenJDK? >>>> This is just for the master - most of our builds are not Java related. >>>> >>>> Which JDK flavor are most of the core developers using (assuming that >>>> that one is better tested and supported)? >>>> >>>> https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu >>>> seems to recommend OpenJDK 7, but that could be mostly to it being >>>> easier to install due to licensing issues? >>>> >>>> Thanks! >>>> >>>> -- >>>> 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 [email protected]. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >> >> -- >> Jonathan Rogers >> >> -- >> 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 [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >>
-- Jonathan Rogers -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
