Issues with Intellij IDEA Ultimate 32/64bit (memory)
Hi.
I have this problem when i run intellij on x86 version.
With different function like accessing database, compiling etc etc.. i get this error:
2016-12-22 15:32:33,423 [23582033] INFO - ution.rmi.RemoteProcessSupport - Error occurred during initialization of VM
2016-12-22 15:32:33,423 [23582033] INFO - ution.rmi.RemoteProcessSupport - Could not reserve enough space for 716800KB object heap
2016-12-22 15:32:33,447 [23582057] INFO - ution.rmi.RemoteProcessSupport - Process finished with exit code 1
But i've set heap below 716800KB in vm options:
-server
-Xms128m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Xmx512m
-Dide.no.platform.update=true
This happens always and especially when using 32bit version.
I didn't use 64bit version since i really found it slow when typing. Searching for classes/methods is damn slow on 64bit, even with an Xmx of 2048mb.
Why the performances are so worst when using 64 bit?? (with oracle jdk8 last release)
My office pc is an intel i3 (ivy), 8gb of ram..
I don't have these issues @home with a better windows 10 machine and my macbook.
Please sign in to leave a comment.
JetBrains 64-bit Runtime should provide the same performance: https://intellij-support.jetbrains.com/hc/articles/206544879. 64-bit version can be found at https://bintray.com/jetbrains/intellij-jdk/openjdk8-windows-x64#files. Oracle JDK has some performance issues (specific to fonts and ligatures).
And the issue with the heap size limit for 32-bit processes is described at https://intellij-support.jetbrains.com/hc/articles/207241105.
Thank you. Infact i'm using Fira code with ligatures. I'm running the 64bit version right now with Jb jre and performance looks identical to 32bit, i'll stick with it,
Can i ask why does the 64bit excution environment is not bundled with IDEA just as 32bit runtime?
Thank you.
New version installer has an option to download 64-bit Java. In the future 64-bit version will be bundled and 32-bit version will be the optional download.