Intellij 9 in 64 bits under MacOSX?

Hi

Does anybody know how to run Intellij 9 in 64 bits under MaxOS X?

I already tried to use the "IDEA_JDK" environment variable (pointing to my Java 6 '/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home'), but it doesn't change anything.

Please, don't tell me "Running in 64 bits is useless" or something like that. It is not the point of my message. I just want to know how to do it.

Thanks

Thierry

7 comments
Comment actions Permalink

Change the Info.plist file for IntelliJ. Change the java version to 1.6.

You can get to the Info.plist by right-clicking on intellij's .app file and select show package contents

0
Comment actions Permalink

Thanks but it doesn't work.
I changed it from 1.5+ to 1.6+.
<key>JVMVersion</key>
        <string>1.6+</string>

And it is still running in 32 bits. (kind = Intel in Activity Monitor).

I also added the "-d64" option to the VMOptions string.

0
Comment actions Permalink

In order to get Injetllij to run in 64-bits on OSX, you have to make the following changes to you info.plist file. NOTE the <string>x86_64</string> must be first in the <array> under JVMArchs and LSArchiteturePriority.

      <key>JVMVersion</key>
      <string>1.6+</string>

      <key>JVMArchs</key>
      <array>
        <string>x86_64</string>
        <string>i386</string>
        <string>ppc</string>
      </array>

      <key>LSArchitecturePriority</key>
      <array>
        <string>x86_64</string>
        <string>i386</string>
        <string>ppc</string>
      </array>

0
Comment actions Permalink

The temperature of my Macbook rises to 90 degrees celsius when I have these settings and I load a large project. This doesn't happen if use the 32 bit settings.

Is this a normal behavior for having 64-bit settings?

0
Comment actions Permalink

well, how much memory does your Macbook has? because memory usage with 64x VM is much higher so you may experience lots of swapping...it is just a guess...
btw, I don't know if apple JDK has support for compressed oops?
(some banchmarking  http://blog.juma.me.uk/2008/10/14/32-bit-or-64-bit-jvm-how-about-a-hybrid/)
cheers
-m

0
Comment actions Permalink

I have 4GB of RAM.

0
Comment actions Permalink

machak wrote:

btw, I don't know if apple JDK has support for compressed oops?

It has. I am running IntelliJ IDEA in 64bit on OSX using the -XX:+UseCompressedOops option. This I combine with the -XX:+UseParallelGC option to prevent crashes during garbage collection. This last problem is supposed to be fixed in Apple's latest jvm update, but I have not tested that. Performance is pretty good using these settings on my machine, but be sure you give IntelliJ IDEA plenty of permanent space; I use -XX:MaxPermSize=500m if I recall correctly.

Bas

0

Please sign in to leave a comment.