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

Excessive memory usage with large number of request threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core

      Jelly TagScripts maintain a per-thread cache of Tag objects. These Tag objects in turn hold on to their JellyContexts. This tag cache doesn't get GC-ed until the thread is dead, so if there are a large number of HTTP request handling threads, over time the tag cache gets pretty full, results in OutOfMemoryError.

      This problem is fixed in Jelly and integrated into stapler 1.197, which gets released in 1.485 through 288827f67166c3159f18babf87b16693f537bb9b.

      I'm recording this here to make this backported to LTS.

            kohsuke Kohsuke Kawaguchi
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: