Answer the question
In order to leave comments, you need to log in
Failed to create JVM: erro code -6?
PhpStorm broke after changing VM Options. Requires JAVA_HOME to be set (failed to create jvm: error code -6). JAVA_HOME has been set to both system and user environment variables in environment variables. Updated JDK and JRE to latest version. And I installed both 32 and 64 bit on Windows 8.1 64bit. The vm options files themselves retained only the default values.
PhpStrom.exe.vmoptions:
-server
-Xms128m
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net. preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
PhpStorm64.exe.vmoptions:
-Xms128m
-Xmx512m -XX: MaxPermSize
=256m
-XX:ReservedCodeCacheSize=240m
-XX:+ UseConcMarkSweep0MBeaPun -S .io.useCanonCaches=false -Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Xms256m
-Xmx1024m
-XX:MaxPermSize=400m
-XX:ReservedCodeCacheSize=300m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapMemorDumpError
-XX:-OmitStackTraceInFastThrow
-XX :+UseCompressedOops
-Dawt.useSystemAAFontSettings=lcd
-Dawt.java2d.opengl=true
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question