Visual Studio 2019 crashes after opening and closing tests and working on them for some time. The memory that Visual Studio uses increases to the point where it slows down and eventually crashes.
There are errors from VSTSExecution in the Windows Event Viewer log and other errors about faulting module "C:\WINDOWS\System32\KERNELBASE.dll" from the time of the crash.