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

JVM properties suggestion #213

Open
dos65 opened this issue Jul 6, 2021 · 0 comments
Open

JVM properties suggestion #213

dos65 opened this issue Jul 6, 2021 · 0 comments

Comments

@dos65
Copy link
Member

dos65 commented Jul 6, 2021

We choose to set Xmx512m by default in metals-vscode in scalameta/metals-vscode#603 .
However, in case if it would be enough for a particular project it would be nice to somehow inform the user that it's needed to change this setting.

A first step here might be adding improvements in handling server crashes. For example, Metals doesn't start with Xmx52m and produces the following message without any logs:

The Metals server crashed 5 times in the last 3 minutes. The server will not be restarted.

Also, @olafurpg mentioned that that we might perform JVM stats checks at runtime and notify user how to increase max memory setting : scalameta/metals-vscode#603 (comment)

Search terms:
jvm vscode xmx

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

No branches or pull requests

1 participant