Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346229

Summary: save work place state frequently instead of only shutdown
Product: [Eclipse Project] Platform Reporter: arne anka <eclipse-bugs>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: Michael_Rennie
Version: 3.6.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description arne anka CLA 2011-05-18 08:18:32 EDT
i close a project.
minutes later eclipse crashes.
after restart, the project is open (again? still?).

same thing for opened editors. when eclipse crashes the state of the last successful shutdown is restored, not the one most recent to the crash.

apparently eclipse only stores the work place state when shutdown. that's nice but insufficient, it should save the state frequently while eclipse runs.


-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
Comment 1 arne anka CLA 2011-05-25 07:23:46 EDT
ok. this gets annoying.
is there any way to force saving manually while eclipse runs?
Comment 2 John Arthorne CLA 2011-05-25 08:42:18 EDT
Eclipse stores data on disk at different times depending how critical it is. Critical state such as your file contents are written to disk immediately. Other state this is important but recoverable is written periodically in the background. Cosmetic state like the selection, open editors, view layout, etc, is only ever saved on shutdown. As an end user there is no way to force this state to be saved, other than to shutdown.

The more interesting question is why you are crashing so often. Are these JVM crashes, deadlocks, or what?
Comment 3 John Arthorne CLA 2011-05-25 08:56:28 EDT

*** This bug has been marked as a duplicate of bug 2369 ***