Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-108935

Backport of memory consumption fix for golang 1.24

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.6.z
    • rhel-9.6
    • golang
    • None
    • golang-1.24.6-1.el9_6
    • No
    • Low
    • rhel-pt-go
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      This is a request to backport the patch found in this issue to the RHEL golang 1.24 release: https://github.com/golang/go/issues/73800

      What is the impact of this issue to you?

      High

      Please provide the package NVR for which the bug is seen:

      1.24.4-2

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Download golang 1.23 and 1.24 packages.
      2. Pull down the heapbench tool from [this Github repo](https://github.com/thepudds/heapbench/tree/dev-go124-rss-regression).
      3. Run the command `go1.23 run github.com/thepudds/heapbench@669420526 -livekind=nodechannel -livesize=large \
        -baseheap=512 -garbagerate=128 -leakrate=0 -jobrate=100 -worktime=20ms -stats=2s`.
      4. Run the same command with `go1.24`.

        Expected results

        Both runs have roughly the same memory consumption.

      Actual results

      The 1.24 run has significantly worse memory consumption.

              go-maint@redhat.com Go Maint
              rhn-support-amike Andrew Mike
              Go Maint Go Maint
              Edjunior Machado Edjunior Machado
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: