Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Workbench User Guide
Previous Page Home Next Page

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.

   <systemTest property="osgi.os" value="linux"/>

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.

Related reference
Workspace preferences page

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire