Conversation
333fred
left a comment
There was a problem hiding this comment.
One small suggestion, otherwise LGTM
…Builder_Sync.cs Co-authored-by: Fred Silberberg <fred@silberberg.xyz>
|
Not sure what is going on here, or whether there is some regression in Roslyn, but we have a bunch of |
|
Thanks for helping fix up the scripting test @filipw! Going to keep working on it. |
|
@JoeRobich selectively running tests, it appears that import completion is taking significant amounts of memory. By far the worst offender is |
| } | ||
| } | ||
| var completionTasksAndProviderNames = completionTasksAndProviderNamesBuilder.MoveToImmutable(); | ||
| var completionTasksAndProviderNames = completionTasksAndProviderNamesBuilder.ToImmutable(); |
There was a problem hiding this comment.
@filipw why did you revert this? Just to see if it would fix the OOM issue?
There was a problem hiding this comment.
it failed many tests with System.InvalidOperationException : MoveToImmutable can only be performed when Count equals Capacity.
One thing is we inject |
The import completion tests are not using the shared fixture (my latest commit adds a new fixture to share hosts between them). |
|
So, I made the assumption that the stack trace that is failing is also the stack that is allocating. I choose to look at the TestHelper GetReferences and by caching the MetaData References memory stay much, much lower. |
|
Now to work out why the global line formatting options aren't applying to Cake services.. |
|
😅👏 |

The changes are mostly around how Global Options in Roslyn is changing. We need to provide fallbacks which derive from OmniSharpOptions for LineFormatting options that are normally found in the .editorconfig.