Hello,
I'm seeing a 100% repro memory leak in bdservicehost.exe
that can be reproduced reliably after a reboot. I run on Windows 11 version 22H2, on a 8C/16HT Ryzen7 machine with 16GB RAM. Using Bitdefender Total Security, bdservicehost.exe
file version is 26.0.28.92.
To repro it simply takes to build & run the LLVM unit tests. After the run, it can be observed that Bitdefender takes almost 13GB of commit. A second run of the LLVM unit tests kills the machine to a point where the tests don't complete or fail abnormally, and the machine becomes unresponsive.
To repro:
- Then get LLVM,
git clone --config core.autocrlf=false https://github.com/llvm/llvm-project.git
- Then,
cd llvm-project && mkdir build && cd build
- Then,
cmake -GNinja ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_ENABLE_LIBXML2=OFF -DLLVM_ENABLE_PROJECTS="llvm;clang;lld;clang-tools-extra;mlir" -DLLVM_ENABLE_ASSERTIONS=ON
- Then,
ninja check-all
After everything is compiled, and while the LLVM tests are running, observe in Process Explorer how the "Private Bytes" ofbdservicehost.exe
is increasing monotonically. I think the whole situation is caused by the large number of processes that the LLVM tests are starting. Adding an exception for this specific folder does not solve the issue.
@Flexx are you able to help here please? Thanks a lot in advance.