Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45238

Some unit tests have massive memory leaks when built with VS2019

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • ALL
    • Hide
      > c:\python\Python37\python.exe ./buildscripts/scons.py --dbg=on --opt=on --win-version-min=win10 --jlink=1 MSVC_VERSION=14.2 build\optdebug\mongo\util\util_test.exe
      > build\optdebug\mongo\util\util_test.exe
      

      Watch under performance tools to see the memory growth, which is very rapid. You will want to ^C that before it eats all your memory.

      Show
      > c:\python\Python37\python.exe ./buildscripts/scons.py --dbg=on --opt=on --win-version-min=win10 --jlink=1 MSVC_VERSION=14.2 build\optdebug\mongo\util\util_test.exe > build\optdebug\mongo\util\util_test.exe Watch under performance tools to see the memory growth, which is very rapid. You will want to ^C that before it eats all your memory.
    • Dev Platform 2020-02-10

      While experimenting with VS2019 for faster builds, we ran the unit tests and found that they terminated via OOM.

      Some initial investigation suggested misbehavior in the alarm subsystem, but we didn't dig too much further.

      It is possible that it is another manifestation of https://developercommunity.visualstudio.com/content/problem/861451/possible-codegen-issue-after-attempting-to-upgrade.html, but in case it is not, I'm filing the ticket to track it.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: