Community
Participate
Working Groups
Eclipse was running unattended for a couple of days and ran out of heap space. After restarting the task list was not restored. Contents of the backup repository: -rw-r--r-- 1 stp stp 1313067 2008-10-19 23:38 mylyn-v3-data-2008-10-19-233849.zip -rw-r--r-- 1 stp stp 1313095 2008-10-20 00:38 mylyn-v3-data-2008-10-20-003849.zip -rw-r--r-- 1 stp stp 1313257 2008-10-20 01:38 mylyn-v3-data-2008-10-20-013849.zip -rw-r--r-- 1 stp stp 1313127 2008-10-20 02:38 mylyn-v3-data-2008-10-20-023849.zip -rw-r--r-- 1 stp stp 1313247 2008-10-20 03:38 mylyn-v3-data-2008-10-20-033849.zip -rw-r--r-- 1 stp stp 1313230 2008-10-20 04:55 mylyn-v3-data-2008-10-20-043938.zip -rw-r--r-- 1 stp stp 199615 2008-10-20 05:39 mylyn-v3-data-2008-10-20-053903.zip -rw-r--r-- 1 stp stp 83994 2008-10-20 06:52 mylyn-v3-data-2008-10-20-065208.zip It appears that at some point the task list could not be fully written to disk causing the backup size to degrade over time.
Don't suppose you still have any of those smaller backup files kicking around? Might be worth looking at the contents to see whats missing and/or what the tasklist contains.
Well, it's unpredictable when the backup fails. I am pretty sure the backup will simply stop adding files once it runs out of memory and close the file.
(In reply to comment #1) > Don't suppose you still have any of those smaller backup files kicking around? > Might be worth looking at the contents to see whats missing and/or what the > tasklist contains. I think you are right!
Created attachment 146789 [details] patch
Created attachment 146790 [details] mylyn/context/zip
The patch changes the backup operation so that it propagates exceptions which are now handled in the backup manager. In case of an exception during backup the corrupted backup file is deleted to avoid confusion. I have committed this to the service branch and head.