memory issues

have 16 gig on this windows server with 10 gig avail, why would i be getting this? How would i increase? thx

Error:Abnormal build process termination:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

0
6 comments

If you are using 32-bit JDK, heap size is limited to 1-1.5G MAX, see https://intellij-support.jetbrains.com/entries/23393413-The-JVM-could-not-be-started-The-main-method-may-have-thrown-an-exception .

You can reduce the build process heap here:

https://dl.dropboxusercontent.com/u/2752840/ShareXmod/2015-03/2015-03-24_22-55-45.png

Or switch to 64-bit JDK. Compiler process uses Project JDK in most cases.

0
Avatar
Permanently deleted user

thanks for your response

I am using the 64 bit jvm

Error:Abnormal build process termination:
Error occurred during initialization of VM
Could not create the Java virtual machine.
Could not reserve enough space for object heap

I should have enough mem

task-manager.jpg

0

Please provide a screenshot with the project JDK configuration.

Try running IDEA under 64-bit JDK as well: https://intellij-support.jetbrains.com/entries/23455956 .

0
Avatar
Permanently deleted user

Please provide a screenshot with the project JDK configuration.

sorry, how do i get that?

0
Avatar
Permanently deleted user

Potential Solution:

I had the same issue then i found out i have multiple jdk install with new update.

In windows uninstall all the jdk & jre files from control panel & re install the jdk from oracle website.

 

0

Please sign in to leave a comment.