Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43619

Memory leak in hudson.ClassicPluginStrategy$AntClassLoader2 and org.eclipse.jetty.webapp.WebAppClassLoader

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Critical Critical
    • core

      We have tests constantly running on 6 jenkins slaves, every week or two jenkins becomes unstable because of memory issues.

       

      I have enabled GC logging, and using to gceasy.io I can clearly see that memory usage is increasing over time (included graph).

       

      Also took some jmap heap dumps which shows increasing number of "org.jruby.RubyObject" and "hudson.model.FreeStyleBuild" instances. (screenshots attached, one of them is taken after 3 days of start and another one after 7 days)

      Also included screenshots of common path to accumulation point (maybe it helps). Not sure we can upload jmap dumps (I assume they can contain sensitive information, e.g passwords, ssh private keys).

       

      Our jobs are configured to keep only 100 last builds.

       

       

            Unassigned Unassigned
            tarvi Tarvi Pillessaar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: