Leda 122.694 + JDK 7 and -Xmx1g

I'm using Windows 7 32-bit. If I use Oracle JDK 6_37, I can specify -Xmx1g in idea.exe.vmoptions, but if I use Oracle JDK 7_09, the maximum memory I can specify is around 700m. The error is:

C:\Users\c0dant2\ideaIU-12\bin>idea.bat
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Does anybody know what the problem is?

Thanks.

4 comments
Comment actions Permalink

I guess you do not have enough avaible memory. Try to buy more or shut down other software.

0
Comment actions Permalink

We know this problem for long time and it is not related to IntelliJ

When we move from 1.6.x to 1.7.x the max amount of memory we able to start with is dramatically reduced.
It not releated to how much phyiscal memory you have, but to the longest continues logical space.
We discovered that the logical space with JDK 7 was reduced because more DLLs are load and break the logical space.
Because we are in process of moving to 64bit we longer try to fight it.

0
Comment actions Permalink

I will be surprised if the biggest continuous memory space on my machine is < 800m (-Xmx800m doesn't work with jdk 7 either) because this machine has 6gig of memory (using PAE) and I just restart my machine or windows 7 is very bad at memory management.

0
Comment actions Permalink

I just tried again with Leda 123.72 and Oracle jdk 1.7.0_10 on Linux and I can use -Xmx2g (not sure if it works on windows).

0

Please sign in to leave a comment.