Intellij idea 32 bit vs 64 bit speed and performance

前端 未结 1 1568
温柔的废话
温柔的废话 2021-02-07 03:51

Currently I am using intellij idea 14.0.3(earlier I was using 12.1.4) on 64 bit windows 8.1.

When we install it, the installer creates the shortcut in start menu and oth

相关标签:
1条回答
  • 2021-02-07 04:19

    The difference between running the 32 and 64 bits launcher is which Java will be used to start the IDE and what are the vmoptions parameters passed to it.

    When starting the 32 bit one, IDEA uses it's own bundled 32 bit JRE. If there is no such one, IDEA tries to find 32 bit JRE in several places on specific order (%IDEA_HOME%, %JDK_HOME%, %JAVA_HOME%). The values in idea.exe.vmoptions are passed to it.

    When starting the 64 bit one, it tries to find 64 bit JRE in several places on specific order. The values in idea64.exe.vmoptions are passed to it.

    So if you want to allocate 2 GB RAM or more (with -xmx), this is not going to happen with 32 bit Java (resp. IDEA). And for large projects using less than 2GB causes the IDE to hang a lot. For smaller projects I don't think you'll feel any difference.

    For reference this is the bug about this, so far they are not acting on it:

    https://youtrack.jetbrains.com/issue/IDEA-146040

    0 讨论(0)
提交回复
热议问题