Minimizing data loss from crashes
The Workbench periodically saves a snapshot in order to reduce the risk of
losing data due to crashes.
The default period between saves is 5 minutes, but you can change this
from the
Workspace preferences page
(Window > Preferences > General > Workspace).
From that page you can also set Eclipse to save all modified resources before
a manual build.
Previously created projects and saved editor data are never lost as they are
written to disk immediately upon save. However, there is a risk of data loss in these areas:
-
Unsaved data in open editors may be lost, depending on the editor implementation.
-
Bookmarks and tasks might be lost.
-
If a crash occurs during CVS synchronization, the Workbench may be out of sync.
You can check by performing the synchronize operation again.
Developers of plug-ins can also choose to participate in the autosave
lifecycle and have the Workbench also save the state of their plug-ins.
See "
Workspace save participation
" in the
Platform Plug-in Development Guide
for details.
<enablement>
<systemTest property="osgi.os" value="linux"/>
</enablement>
Restarting after a crash on Linux
After a crash you may find that Eclipse will not open because it
has (erroneously) detected that your workspace is in use.
To remedy this, enter:
rm workspace/.metadata/.lock
You can now restart Eclipse.
Workspace preferences page