vscode打开后发现很吃内存呢
任务管理器看到竟然起来了两个java进程:
"F:\Java\jdk1.8.0_102/bin/java.exe" -classpath "c:\Users\Administrator\.vscode\extensions\adamvoss.vscode-languagetool-3.8.0\lib\languagetool-languageserver\build\install\languagetool-languageserver\bin\..\lib\*;C:\Users\Administrator\.vscode\extensions\adamvoss.vscode-languagetool-zh-3.8.0\lib\*" App 63317
F:\Java\jdk1.8.0_102\bin\java -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication -javaagent:C:\Users\Administrator\.vscode\extensions\gabrielbb.vscode-lombok-0.9.6/server/lombok.jar -Xbootclasspath/a:C:\Users\Administrator\.vscode\extensions\gabrielbb.vscode-lombok-0.9.6/server/lombok.jar -jar C:\Users\Administrator\.vscode\extensions\redhat.java-0.33.0\server\plugins\org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar -configuration C:\Users\Administrator\.vscode\extensions\redhat.java-0.33.0\server\config_win -data c:\Users\Administrator\AppData\Roaming\Code\User\workspaceStorage\84bd6c05c0b4d1ed689cda84356546e2\redhat.java\jdt_ws
然后禁用了一堆java插件,最后还有一个java进程在运行。
最终禁用languagetool插件,终于干掉了所有的java程序。