Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove default GC options, fixes scalameta#85.
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.
- Loading branch information