Re: RubyMine 1.1.1 crashes on MacOSX 10.5.8 With Java Update 4

Hi gyus,

If you run RubyMine using Java 1.6 after Java Update 4 RubyMine will not start. To fix it please :
1. delete *idea* file from /Applications/RubyMine 1.1.app/Contents/MacOS
2. then cp /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub64 to /Applications/RubyMine 1.1.app/Contents/MacOS/
3. rename *JavaApplicationStub64* to *idea* again.
4. add u+x permissions for *idea* file

By default RubyMine uses Java 1.5 and Java Update 4 will not affect it.

P.S: To run RubyMine with Java 1.6 you should
1. Change /Applications/RubyMine 1.1.app/Contents/Info.plist | Java | JVMVersion value from "1.5*" to "1.6*"
2. Increase /Applications/RubyMine 1.1.app/Contents/Info.plist | Java | VMOptions : --Xmx value because on MacOS java 1.6 is 64-bit and requires twice more memory than java 1.5

(info was taken from http://www.jetbrains.net/devnet/message/5237767#5237767 and http://www.jetbrains.net/devnet/message/5240216#5240216)

Update: We moved this faq to documents, see http://www.jetbrains.net/devnet/docs/DOC-1157

0
Avatar
Permanently deleted user

Thanks for those hints - I thought about switching to jdk 1.6 so good to know about the tweaks required.
But if it takes twice the memory, what are the real benefits of using it? A slightly improved performance may not be worth the increased memory usage...

0

Thanks for those hints - I thought about switching to jdk 1.6 so good to know about the tweaks required.
But if it takes twice the memory, what are the real benefits of using it? A slightly improved performance may not be worth the increased memory usage...

Some mac guys report about better RubyMine's perfomance on jdk 1.6 (due to better GC). As for me - I don't use jdk 1.6 for RubyMine and IntelliJ IDEA due to higher memory consumption. I don't think that Apple will implement 32-bit implementation of Java 1.6 JVM

0
Avatar
Permanently deleted user

Hello guys,

Thanks for those hints - I thought about switching to jdk 1.6 so good to know about the tweaks required.
But if it takes twice the memory, what are the real benefits of using it? A slightly improved performance may not be worth the increased memory usage...

I'm running on 64bit Linux box, but I use Sun Java 6 32bit to run RubyMine.
Switching back and forth from 64bit to 32bit didn't give me significant perfomance improvements but gave increased memory usage and even decreased perfomance with similar memory settings.

Regards,
Oleg

0

Apple Java Update 5 fixed the problem.

0

请先登录再写评论。