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

Add option to disable server gc #7155

Merged
merged 4 commits into from
Jul 18, 2024
Merged

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented May 21, 2024

Verified with System.Runtime.GCSettings.IsServerGC

package.nls.json Outdated
"configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.",
"configuration.dotnet.server.useServerGC": "Configure the language server to use .NET server garbage collection. Server garbage collection generally provides better performance when there is ample memory available.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought. I know we are saying "better performance when ample memory" but maybe we need to explicitly call out that they can expect memory usage to be higher.

Suggested change
"configuration.dotnet.server.useServerGC": "Configure the language server to use .NET server garbage collection. Server garbage collection generally provides better performance when there is ample memory available.",
"configuration.dotnet.server.useServerGC": "Configure the language server to use .NET server garbage collection. Server garbage collection generally provides better performance at the expense of higher memory usage.",

package.nls.json Outdated Show resolved Hide resolved
@dibarbet dibarbet marked this pull request as ready for review July 18, 2024 22:18
@dibarbet dibarbet requested a review from a team as a code owner July 18, 2024 22:18
@dibarbet dibarbet merged commit f103178 into dotnet:main Jul 18, 2024
13 checks passed
@dibarbet dibarbet deleted the servergc_option branch July 18, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants