IntelliJ IDEA 12.0 JVM Startup Error

intellij-idea, java

Solution

Please see this answer for the problem background and the solution.

Your questions seems to be the exact duplicate of:

- How to increase intellij 32bit xmx more than 1GB?

Problem

I just upgraded to `IntelliJ IDEA 12.0` and get an error immediately upon attempting to launch: ``` The JVM could not be started. The maximum heap size (-Xmx) might be too large or an antivirus or firewall tool could block the execution. ``` I checked my `idea.exe.vmoptions` file and the maximum heap size is only 640m (I have 8 GB physical memory and am not running any other applications). idea.exe.vmoptions ``` -Xms128m -Xmx640m -XX:MaxPermSize=640m -XX:ReservedCodeCacheSize=64m -XX:+UseCodeCacheFlushing -ea -Dsun.io.useCanonCaches=false ``` I still have `IntelliJ IDEA 11.4` on my machine and I am able to run that (using the same values for max heapsize in `idea.exe.vmoptions`). Since `IntelliJ IDEA 11.4` runs, I don't believe it is an antivirus or firewall issue. I have also checked those settings as well. Anyone run across this or have any idea (no pun intended)?

Original source

Related problems