Eclipse is not stable

Source: Internet
Author: User

After changing to a new machine, I found that my eclipse is very unstable on a 64-bit machine. All new files or folders will die,
After reading this discussion on the internet, add the parameters in eclipse. ini:
-XX: compilecommand = exclude, org/Eclipse/CORE/Internal/dtree/datatreenode, forwarddeltawith Solution

Original post location:
Http://www.linuxsir.org/bbs/thread330512.html

Why do so many people use 64-bit CPUs ..
I don't know if it's my own reason or if it's inspired by the capitalist's gun ..
I personally think that it is most appropriate for ordinary users to honestly use the stable architecture of the past ..

Although my CPU supports 64bit, I have been using a 32-bit architecture. Besides the crazy memory, it has been running stably, so I cannot verify the crash.
However, it is certain that the new version of eclipse has an exit bug. For details, refer:
Https://bugs.eclipse.org/bugs/show_bug.cgi? Id = 214092

The solution is to add the following parameters:
-XX: compilecommand = exclude, org/Eclipse/CORE/Internal/dtree/datatreenode, forwarddeltawith

In addition, use the JDK of the stable branch whenever possible.
Use the command line to start eclipse to ensure that the output is displayed when it exits.

I also use stable JDK 6 from portage
But eclipse is self-built, and you just need to decompress it to a directory. This is because I sometimes want to copy it (mobile version), so I have never used portage. However, the memory provided by the command line above to the VM is too small. Try to increase the memory size and use the patch version on its wiki If visual editor is used, otherwise, it is normal to crash.
My command line reference (2 GB memory in half), that is, the content of the eclipse. ini file:

-showsplash
Org. eclipse. platform
-vmargs
-dosgi. requiredjavaversion = 1.5
-xms1024m
-xmx1024m
-XX: maxpermsize = 128 M
-XX: + cmsclassunloadingenabled
-XX: + cmspermgensweepingenabled
-XX: + useparallelgc
# Fix bug: https://bugs.eclipse.org/bugs/show_bug.cgi? Id = 214092
-XX: compilecommand = exclude, org/Eclipse/CORE/Internal/dtree/datatreenode, forwarddeltawith

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.