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

Large memory allocation on /blue/.../log/?start={large int}

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Jenkins 2.462.3
      Blueocean 1.27.16

      Hi,

      We recently started seeing our Jenkins instance getting OOM killed, and believe that we have tracked it down to the https://jenkins/blue/rest/organizations/jenkins/pipelines/.../runs/X/nodes/X/steps/X/log/?start=X REST API.

      The GC log contains the following entry for a request with ?start=451159112:

      Heap expansion (humongous allocation request). Allocation request: 451159760B

      This line looks like a likely suspect: https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/rest/LogResource.java#L73

       

      I haven't checked whether newer versions of blueocean are also affected yet.

      Thanks,

      Matt

            Unassigned Unassigned
            matthewwalker Matthew Walker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: