Tuesday, May 13, 2008

How To Build A Rolling Mirror

Eclipse for AMD64

Eclipse on a 64-bit processor with Sun's JDK crashing. The reason for this is Bug # 6614100 : incorrect optimization through the Hotspot compiler, which occurs only under very specific circumstances, but unfortunately just at Eclipse. This affects all JDK / JRE from Sun. Remedy to disable the hotspot compiler. If we make it complete for the Eclipse sleep, a one's feet. Fortunately, you can also disable it specifically for a class that caused the error. To do this you must be in its eclipse.ini following option set at the end - after -vmargs :

-XX: CompileCommand = exclude, org / eclipse / core / internal / dtree / DataTreeNode, forward delta with

Here as an example my eclipse.ini:

-Show splash
org.eclipse.platform
-vmargs
-Dosgi.requiredJavaVersion = 1.5
-Xms1536m
-Xmx1536m
-XX: PermSize = 512m
-XX: MaxPermSize = 512m
-XX: CompileCommand = exclude, org / eclipse / core / internal / dtree / DataTreeNode, forward delta with

Increasing the memory to 1536 MB and the PermSize to fixed 512 MB accelerated Eclipse, but should only sufficient memories are made. Whether it worked, you can see on Linux with

ps ux

0 comments:

Post a Comment