Reason 1. The configuration problem of eclipse.ini: the
configured memory may be too small, or the system itself may not have enough memory. Now, for example, mine is configured like this:
-Xms128m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m -Dorg.eclipse.swt.browser.DefaultType=mozilla
Reason 2: The previous wrong shutdown, the problem of workspace:
This problem is more difficult, because it is difficult to find where the problem is, maybe the previous operation is wrong, maybe a plug-in is BUG, and so on.
The most ruthless solution is to delete the workspace/.metadata/ directory, which is to delete the workspace from eclipse's memory. The disadvantage is to reload each project... A
very popular method on the Internet is:
$ rm YOUR_PROJECT_DIR/.metadata/.plugins/org.eclipse.core.resources/.snap
or through the original
0, enter the workspace/.metadata/.plugins/ directory 1. Rename org.eclipse.core.resources to org.eclipse.core.resources_old. 2. Start eclipse 3. Close eclipse 4. Delete org.eclipse.core.resources 5. Rename org.eclipse.core.resources_old back to org.eclipse.core.resources 6. Star eclipse
Source blog: http://www.cnblogs.com/coding-way/archive/2012/10/17/2727481.html