Modify

Opened 16 years ago

Closed 15 years ago

#2235 closed enhancement (duplicate)

save your edits every x minutes

Reported by: sergionaranja Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

im having trouble with memory and JOSM gets stalled sometimes. So it will be a very useful enhancement to be able to set it so it saves an "utitled.osm" every x minutes automatically.

Attachments (0)

Change History (7)

comment:1 by stoecker, 16 years ago

Increase you memory supplied to Java would be a better option. The memory warning or Java docs tell you how.

in reply to:  1 comment:2 by sergionaranja, 16 years ago

Replying to stoecker:

Increase you memory supplied to Java would be a better option. The memory warning or Java docs tell you how.

I already have java -Xmx800M -jar ./josm-tested.jar (thats another issue).
Saving your edits every x minutes will be good anyway, will prevent loss of data in any present or future shut-down event.

comment:3 by xeen, 16 years ago

Overwriting the original files doesn't seem a good idea. The user mightn't want to have it overwritten (i.e. just testing something). Instead, what about automatically saving opened data layers to temp files every x minutes (keep last 5 or so)? If JOSM doesn't shutdown properly, a dialog could be presented on the next start if the user wishes to restore one of the backed up copies.

comment:4 by sergionaranja, 16 years ago

yes that sounds better, and you can always toggle the feature in preferences.

in reply to:  1 comment:5 by anonymous, 16 years ago

Replying to stoecker:

Increase you memory supplied to Java would be a better option. The memory warning or Java docs tell you how.

Won't help if you run out of physical memory, as Java will be killed by OOM-killer or some similar mechanism.
This feature would help also with crashes with causes unrelated to JOSM (blue screen of death, power outage without having UPS, etc ...), as your data are more likely to be saved...

comment:6 by fatbozz, 16 years ago

Yes its very good idea. Especially if youre still using latest dev version :D
When something crash after long time work with JOSM im little bit upset.

Please add ability to save X mins, and maybe restore function like WORD when start.

comment:7 by Gubaer, 15 years ago

Resolution: duplicate
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.