You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eclipse distros use -XX:+UseG1GC -XX:+UseStringDeduplication by default to enable string deduplication and decrease memory footprint. I believe we should enable the same settings by default in java.jdt.ls.vmargs.
so I loaded the vert.x code base, opened 1 file (DatagramPacket.java), loaded codelenses.
After running GC with jcmd <pid> GC.run , without string dedup, top shows me the java process takes ~720MB of memory (+/- 10MB).
With string dedup enabled, same steps, memory after GC takes ~320MB give or take
Eclipse distros use
-XX:+UseG1GC -XX:+UseStringDeduplication
by default to enable string deduplication and decrease memory footprint. I believe we should enable the same settings by default injava.jdt.ls.vmargs
.@gorkem wdyt?
The text was updated successfully, but these errors were encountered: