How to delete Undo History

Post unfinished work here for feedback and advise.
alimusa
Posts: 1
Joined: Fri Dec 16, 2016 4:48 pm

How to delete Undo History

Postby alimusa » Fri Dec 16, 2016 5:23 pm

hello

How do i remove the "Undo History"?
because the number of "Undo History" can enlarge storage

is there a button such as "clean up document "?
but to delete the "Undo History" list

User avatar
brynn
Posts: 9604
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to delete Undo History

Postby brynn » Sat Dec 17, 2016 9:47 pm

As far as I understand, the undo history does not add to the file size, or use any memory. It seems like I've heard of that in GIMP, a long time ago. But Inkscape's undo works differently.

So no, there is no button to empty the undo history. The only way to make that happen, would be to save the file, close, and re-open. But I don't know of any reason it might be necessary.

If you're having performance issues with Inkscape, here are some tips to help avoid those: https://forum.inkscapecommunity.com/ind ... article=35

Moini
Posts: 2213
Joined: Mon Oct 05, 2015 10:44 am

Re: How to delete Undo History

Postby Moini » Sun Dec 18, 2016 2:05 am

(Technically, it does use memory.) Inkscape doesn't appear to have a setting where you can limit the number of entries in the history. Closing the file and reopening, as Brynn suggested, is currently the only way to clear the editing history, AFAIK.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Moini
Posts: 2213
Joined: Mon Oct 05, 2015 10:44 am

Re: How to delete Undo History

Postby Moini » Sun Dec 18, 2016 2:10 am

Btw. is the forum section the correct one for this topic?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

toxigames
Posts: 141
Joined: Sat Aug 17, 2013 7:28 pm

Re: How to delete Undo History

Postby toxigames » Fri Apr 14, 2017 11:39 am

If you open the undo history and select the oldest entry and then do something, the rest will disappear. I guess that's a way to "reset"/"clear" history. Though from watching Inkscape's memory use in Taskmanager it doesn't seem like this would ever matter unless your computer was really really pressed for memory?

toxigames
Posts: 141
Joined: Sat Aug 17, 2013 7:28 pm

Re: How to delete Undo History

Postby toxigames » Fri Apr 14, 2017 11:48 am

Although I understand now that this will undo everything, so perhaps not the best way to "clear" undo history....

toxigames
Posts: 141
Joined: Sat Aug 17, 2013 7:28 pm

Re: How to delete Undo History

Postby toxigames » Fri Apr 14, 2017 11:52 am

Something curious I noticed is that when your create new objects or copy or clone existing objects memory usage will rise; the more complex and numerous the objects the more the memory usage. When those created/cloned/copied objects are deleted again the memory freed from the destruction is markedly less than for their creation. Seems like a memory leak happening? "Resetting" the undo history does not seem to alleviate this in any way from what I can tell.

tylerdurden
Posts: 1815
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: How to delete Undo History

Postby tylerdurden » Fri Apr 14, 2017 12:00 pm

AIUI, a leak is a continuous increase in consumption, even if no further operations.

Some programs will release memory if it's not needed, but many will retain it, presuming additional operations.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

toxigames
Posts: 141
Joined: Sat Aug 17, 2013 7:28 pm

Re: How to delete Undo History

Postby toxigames » Fri Apr 14, 2017 12:11 pm

tylerdurden wrote:AIUI, a leak is a continuous increase in consumption, even if no further operations.

Some programs will release memory if it's not needed, but many will retain it, presuming additional operations.


Perhaps it is not an actual memory leak; the memory used does seem to be freed when exiting Inkscape entirely. But in my tests memory usage kept climbing eventually reaching 3GB; retaining that much memory can hardly be intentional. Even making an entirely new empty document, then closing the first one does not free the memory use; only when Inkscape was completely closed did those 3GB get freed. If not technically a memory leak Inkscape is still using up tons of memory for no valid reason. But this is of off topic, sorry OP!


Return to “Work in progress”

Who is online

Users browsing this forum: No registered users and 1 guest