Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1861

Possible memory leak on the async rewriter when working with invalid javascript

    • Type: Icon: Investigation Investigation
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Iteration Neptune, Iteration Ozone, Iteration Planetarium
    • Developer Tools

      It seems that, when `mongosh` is trying to parse an invalid JavaScript expression, and successfully raising an error, there some leakage in memory. I've managed to reproduce it in mongosh 2.3.0, M1 version.

      Ths steps to reproduce are in MONGOSH-1860.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: