Intelli j does not start up after I changed the heap memory size
Answered
Hi,
I got into a situation that I changed the memory size in Intelli J and now it doesn't start, gives me an error "if you have already have a 64-bit JDK installed, define a JAVA_HOME variable in .....Failed to create JVM. JVM path: C:\ Program Files \ JetBrains \IntelliJ IDEA 2019.3.3\jbr\ ", I searched for the solutions in StackOverflow to reconfigure idea64.exe.vmoption or delete the VM files but it did not work for me. So I would appreciate it if anyone can help me solve this problem since it is essential to me.
Please sign in to leave a comment.
Delete .vmoptions file from the IDE config directory. See https://intellij-support.jetbrains.com/hc/articles/206544869 and https://intellij-support.jetbrains.com/hc/articles/206544519.
See also https://intellij-support.jetbrains.com/hc/en-us/articles/360007568559.
Hello Nimasafavi3 . Did you fix that? I have the same problem, after increasing Heap Size, my IntelliJ Idea 2020 crashed with the same error message :(
You need to delete the .vmoptions file from the Configuration directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory.
Hello Serge, many thanks, I checked once again this path: C:\Users\JohnS\AppData\Roaming\JetBrains\ and I had 2 directories IdeaIC2020.3 and IdeaIC2021.1 Before I asked my question I tried to modify/delete .vmoptions from 2020.3 with no results, but when I modified .vmoptions in 2021.1 it worked :) Thank you very much once again !!!