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

Remove default GC options, fixes #85. #90

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

olafurpg
Copy link
Member

@olafurpg olafurpg commented Apr 2, 2019

Previously, Metals failed to start if the workspace .jvmopts file
declared custom GC options because they conflicted with the default GC
options we used.

Now, we don't declare any default GC options so Metals can start in
workspaces with custom GC and other VM options.

The string deduplication option is not necessary because Metals uses
little memory by default anyways. We started recommending this setting
by default with the old Metals prototype that could sometimes consume
multiple gigabytes of ram even on medium sized projects. If people want
the old behavior, they can enable string deduplication in .jvmopts or in
the "server properties" setting.

Previously, Metals failed to start if the workspace .jvmopts file
declared custom GC options because they conflicted with the default GC
options we used.

Now, we don't declare any default GC options so Metals can start in
workspaces with custom GC and other VM options.

The string deduplication option is not necessary because Metals uses
little memory by default anyways. We started recommending this setting
by default with the old Metals prototype that could sometimes consume
multiple gigabytes of ram even on medium sized projects. If people want
the old behavior, they can enable string deduplication in .jvmopts or in
the "server properties" setting.
Copy link
Member

@gabro gabro left a comment

Choose a reason for hiding this comment

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

I agree, these were 1.0 options, it makes sense to start "from scratch" and don't assume we need them.

@gabro gabro merged commit df242b3 into scalameta:master Apr 3, 2019
kasiaMarek pushed a commit to kasiaMarek/metals-vscode that referenced this pull request Mar 29, 2023
…n/types/node-13.13.0

Bump @types/node from 13.11.1 to 13.13.0
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