This is an automated email from the ASF dual-hosted git repository.

neilcsmith pushed a commit to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/delivery by this push:
     new 4dbdb209e7 lower the OS level memory consumption of NBLSP
     new fbdd7993a3 Merge pull request #5914 from thurka/GCN-2138-18
4dbdb209e7 is described below

commit 4dbdb209e7c533cdda5e21f08b42be54303e2f9c
Author: Tomas Hurka <tomas.hu...@gmail.com>
AuthorDate: Tue May 2 13:29:33 2023 +0200

    lower the OS level memory consumption of NBLSP
    
    (cherry picked from commit 879061efcae9c68081feae717c0517c975057237)
---
 java/java.lsp.server/script/etc/nbcode.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/java.lsp.server/script/etc/nbcode.conf 
b/java/java.lsp.server/script/etc/nbcode.conf
index 899da0d941..879725aa40 100644
--- a/java/java.lsp.server/script/etc/nbcode.conf
+++ b/java/java.lsp.server/script/etc/nbcode.conf
@@ -58,7 +58,7 @@ default_cachedir="${DEFAULT_CACHEDIR_ROOT}/dev"
 
 # options used by the launcher by default, can be overridden by explicit
 # command line switches
-default_options="--nogui --nosplash --branding nbcode 
-J-Djava.awt.headless=true -J--add-opens=java.base/java.net=ALL-UNNAMED 
-J--add-opens=java.base/java.lang.ref=ALL-UNNAMED 
-J--add-opens=java.base/java.lang=ALL-UNNAMED 
-J--add-opens=java.base/java.security=ALL-UNNAMED 
-J--add-opens=java.base/java.util=ALL-UNNAMED 
-J--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED 
-J--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED 
-J--add-opens=java.desktop/javax.swing=ALL-UNNAMED -J--a [...]
+default_options="--nogui --nosplash --branding nbcode -J-Xmx1G 
-J-XX:+UseParallelGC -J-XX:GCTimeRatio=4 -J-XX:AdaptiveSizePolicyWeight=90 
-J-Djava.awt.headless=true -J--add-opens=java.base/java.net=ALL-UNNAMED 
-J--add-opens=java.base/java.lang.ref=ALL-UNNAMED 
-J--add-opens=java.base/java.lang=ALL-UNNAMED 
-J--add-opens=java.base/java.security=ALL-UNNAMED 
-J--add-opens=java.base/java.util=ALL-UNNAMED 
-J--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED 
-J--add-opens=java.desktop/j [...]
 
 # for development purposes you may wish to append: 
-J-Dnetbeans.logger.console=true -J-ea
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to