thurka opened a new pull request, #5909: URL: https://github.com/apache/netbeans/pull/5909
NB LSP process is different from startd IDE, since it is not a major application user is using. It runs in parallel to major IDE probably VSCode and also in parallel to other installed extensions and LSP servers (potencialy starting another java process). For that reason it is desirable to use different JVM settings from NetBeans IDE. This PR tries to lower NB LSP memory consuption as seen by OS. - sets maximum Java heap size - configures the heap to grow, shrink, and give memory it isn't currently using back to the operating system Current settings mimics the ones used by RedHat's LSP for VSCode, which seems like reasonable start. We expect that the settings can be changed based on the user's feedback. Identical recommendation is also mentioned in the following [document](https://developers.redhat.com/blog/2017/04/04/openjdk-and-containers). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
