Jvm error -6 while starting Intellij-IDEA in 64 bit

Viewed 15111

I have a problem starting Intellij IDEA (15.0.3) in 64 bit mode. When clicking on the idea6.exe I get this error (Failed to create a JVM error code -6):

JVM error code 6

This is my configuration:

  • System:

      Windows 7 - 64 bit - 16GB RAM
    
  • System Variables:

      IDEA_JDK_64: C:\Program Files\Java\jdk1.8.0_74
      JVM_HOME: C:\Program Files\Java\jdk1.7.0_79 
      (1.7 version is needed for my dev activity)
    
  • vm options: idea64.exe.vmoptions left as default

As a trial: I've tried various combinations like system variables pointing to the same JDK path or also to increase -Xmx value in idea64.exe.vmoptions, but the error is still there.

What can the root cause be?

Thank you very much.

7 Answers

I solved problem in my case by deleting file C:\Users\username\.IdeaIC2016.2\idea.exe.vmoptions, because I created it before to customize VM options. File can have name idea64.exe.vmoptions if you overrode options under 64-bit version of Intellij IDEA.

For me it worked once i deleted the vmoptions file created under the C:USERS.IntelliJIdea2017.2\config folder.

Related