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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            Matthew Walker
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: