I was running a script against a very large text file which crashed IntelliJ (i.e. I elected to "Shut Down" intellij when the memory overload pop-up appeared).
Now am getting the below error at startup
"Failed to create JVM: error code -6.
JVM Path: C\Users\[username]\[AppData]\...[IntelliJ Idea 2016.3.3]\jre\jre
If you already have a 32-bit JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Env Variables"
My idea.exe.vmoptions is as follows
-server
-Xms128m
-Xmx512m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
and have set JAVA_HOME to both 32 and 64 bit JDKs to test.
Any suggestions?