Intellij Won't Start after install

已回答

I have been using Intellij for many years. Today I uninstalled previous version and installed 2020.3. I can't open it. I tried to run it from the command line as suggested by another post. I got this error, even though my min heap size IS smaller than the max heap size:

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size

This is my idea64.exe.vmoptions --

-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=512m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
-Dsun.io.useCanonCaches=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off

评论操作 固定链接

Please delete idea64.exe.vmoptions file from the Configuration directory: https://www.jetbrains.com/help/idea/tuning-the-ide.html#config-directory.

0
评论操作 固定链接

I don't have such a file in the C:\Users\xxx\AppData\Roaming\JetBrains\IntelliJIdea2020.3 directory. Below is a screen shot of the directory

0
评论操作 固定链接

Do you have JAVA_TOOL_OPTIONS or _JAVA_OPTIONS environment variables defined that override default VM options for all the Java apps?

0
评论操作 固定链接

Nope, I just double checked. No such environment variables.

0
评论操作 固定链接

You may be overriding the default config location, see https://intellij-support.jetbrains.com/hc/en-us/articles/207240985 and https://intellij-support.jetbrains.com/hc/en-us/articles/206544869.

IDE is probably picking up some other .vmoptions file from a different directory.

Search your drive for *.vmoptions files and delete them (except those in the bin directory of the IDE).

1

请先登录再写评论。