-
Notifications
You must be signed in to change notification settings - Fork 82
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 increase heap maximum in OOM notification #700
Comments
Are you in untrusted workspace? Have you tried to write the settings at hand? |
sorry I am not sure what that means, how do I know if I am in untrusted workspace and how do I try to to write the settings at hand? I sometimes notice there is a blue notification saying something about untrusted workspace, but it doesn't appear when I try to edit this setting. |
I suggest that you read https://code.visualstudio.com/blogs/2021/07/06/workspace-trust |
i disabled the trust in accordance to the article and nothing changed, I still don't know where to put -Xmx1G. |
simply type "xml.server.vmargs" in the User settings.json file |
looks like vscode-xml is not installed/active on your machine |
Ctrl+Space after xml.server.vmargs. |
where do i put it in the file? |
towards the end of the settings.json file for instance, before the closing bracket. |
Your workspace should be in trust mode. @fbricon @rgrunber to avoid this problem, I think the popup which display the out of memory problem should provide a new button |
We seem to do that in vscode-java. redhat-developer/vscode-java#2085 . One of the options is "Configure" which appears to double the given XmX value. We should do the same. https://github.com/redhat-developer/vscode-java/blob/master/src/extension.ts#L87 |
Copied from vscode-java. Closes redhat-developer#700 Signed-off-by: David Thompson <[email protected]>
Copied from vscode-java. Closes redhat-developer#700 Signed-off-by: David Thompson <[email protected]>
Copied from vscode-java. Closes redhat-developer#700 Signed-off-by: David Thompson <[email protected]>
Copied from vscode-java. Closes #700 Signed-off-by: David Thompson <[email protected]>
I need to give the thing more memory.
It says "go to xml.server.vmargs and add -Xmx1G.
I search for xml.server.vmargs in settings and press Edit in settings.json
thats what the file looks like
where do i put the " -Xmx1G."
The text was updated successfully, but these errors were encountered: