Debugger Services Running Out of Memory
The Debugging Services ran out of memory and caused the termination of the debugging session.
To investigate this error on Windows
You can check the process memory graph in the Diagnostics Tools window to see if the target application is experiencing significant growth in memory. If so, use the Memory Usage tool to diagnose the underlying issue. For more information, see Analyze memory usage.
If the target application doesn't seem to be consuming a lot of memory, use the Task Manager window to check the memory usage of Visual Studio (devenv.exe), the worker process (msvsmon.exe), or of VS Code (vsdbg.exe/vsdbg-ui.exe). By identifying the source, you can determine if the memory issue is a debugger problem. If the process running out of memory is devenv.exe, consider reducing the number of Visual Studio extensions running.