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