razor-tooling/src
N. Taylor Mullen 031a47115c
Reduce VS memory pressure for large projects (#2716)
* Reduce VS memory pressure for large projects

- Only allow a single TagHelper resolver request to process at a time in order to reduce Visual Studio memory pressure. Typically a TagHelper resolution result can be upwards of 10mb+. So if we now do multiple requests to resolve TagHelpers simultaneously it results in only a single one executing at a time so that we don't have N number of requests in flight with these 10mb payloads waiting to be processed. For larger projects this was found to occasionally contribute to over a GB worth of memory occupying VS' 4gb memory limit.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1236296

* Dispose semaphore
2020-11-06 20:01:15 +00:00
..
Razor Reduce VS memory pressure for large projects (#2716) 2020-11-06 20:01:15 +00:00
Shared/BenchmarkRunner [master] Update dependencies from dotnet/arcade dotnet/aspnetcore (#2658) 2020-10-27 18:19:50 +00:00