• Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.11.0
    • Component/s: None
    • Labels:
    • 2
    • Not Needed
    • Not Needed

      What problem are you facing?

      After upgrading from 4.9.0 to 4.11.0 there is MASSIVE memory leaking. After doing some heap dumps i found the issue to be with an optional dependency to some @aws-sdk packages ( specifically the two cognito packages ) 

      What driver and relevant dependency versions are you using?

      4.11.0 

      Steps to reproduce?

      Use 4.11.0 under heavy load and see you memory usage increase 
      8 hours of using 4.11.0 installed with npm install

      12 hours of using 4.11.0 installed with npm install --omit=optional

        1. image-2022-11-17-09-04-39-448.png
          image-2022-11-17-09-04-39-448.png
          60 kB
        2. image-2022-11-17-09-08-32-395.png
          image-2022-11-17-09-08-32-395.png
          100 kB
        3. image-2022-11-18-08-55-12-923.png
          image-2022-11-18-08-55-12-923.png
          78 kB
        4. image-2022-11-18-08-56-07-746.png
          image-2022-11-18-08-56-07-746.png
          46 kB
        5. image-2022-11-19-14-04-55-616.png
          image-2022-11-19-14-04-55-616.png
          48 kB
        6. image-2022-11-19-14-06-20-270.png
          image-2022-11-19-14-06-20-270.png
          75 kB
        7. image-2022-11-20-09-43-49-469.png
          image-2022-11-20-09-43-49-469.png
          46 kB

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            allan@openrpa.dk Allan Zimmermann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: