Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate workarounds for thread pool explosion #1736

Closed
sharwell opened this issue Nov 7, 2015 · 0 comments
Closed

Investigate workarounds for thread pool explosion #1736

sharwell opened this issue Nov 7, 2015 · 0 comments
Assignees
Milestone

Comments

@sharwell
Copy link
Member

sharwell commented Nov 7, 2015

A bug in AdditionalFile.GetText (fixed in dotnet/roslyn#6596) can cause thread pool explosions which result in long delays (UI hangs) when analyzers are enabled in Visual Studio. We currently use this method in SettingsHelper to read the stylecop.json file. As a workaround prior to this bug being fixed, we should investigate the use of an alternative approach (e.g. File.ReadAllText based on AdditionalFile.Path).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant