[Bf-funboard] So what is up with the undo?

Jeffrey H italic.rendezvous at gmail.com
Fri Jun 20 22:22:11 CEST 2014


As far as I know, both Windows and Linux use swap space automatically when
programs use up their quota or max out physical memory (I have no idea what
OSX does). Is this an issue for Blender's automatic memory dump system?
Would Blender be able to detect how much physical memory is available and
when to start dumping to disk? What about the memory limit that's already
under the undo slider in prefs? If that doesn't limit the undo stack size,
what does it actually do? Maybe that could be the dump threshold.


On Fri, Jun 20, 2014 at 2:23 AM, Knapp <magick.crow at gmail.com> wrote:

> On Wed, Jun 18, 2014 at 8:33 AM, Campbell Barton <ideasman42 at gmail.com>
> wrote:
>
> > Its an arbitrary limit, but!
> >
> > Undo's are stored in memory at the moment, and in some cases they use
> > a lod (shape-keys in editmode for example that can eat up a lot of
> > ram),
> >
> > There is code in Blender to write undo state to disk, but currently
> > its not used.
> > If we want to have a really high undo limit probably this should be
> > enabled.
> >
> > On Wed, Jun 18, 2014 at 3:37 AM, Knapp <magick.crow at gmail.com> wrote:
> > > There were a bunch of posts about this but no dev ever said why it was
> > > limited to 64 undos.
> > > Is there an answer?
> > >
> > --
> > - Campbell
> > _______________________________________________
> > Bf-funboard mailing list
> > Bf-funboard at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-funboard
> >
>
> So Campbell, can we change this arbitrary limit from 64 to 1024 or
> something? It seems that computers have advanced a lot since that number
> was picked. Also it is settable by users so we could still default it to a
> low setting and let users increase it to what they want. Just wondering
> what is, "a lot of ram"? Do we have a test blend I could try out and see
> how much ram is used and thus what might be the max undo for a computer
> with 32gb ram so that we could set the max to something that is not
> arbitrary but within reason? Do we have code in place to catch a system
> that is overusing its memory with too much undo?
> Thanks!
>
> --
> Douglas E Knapp
>
> Creative Commons Film Group, Helping people make open source movies
> with open source software!
> http://douglas.bespin.org/CommonsFilmGroup/phpBB3/index.php
>
> Massage in Gelsenkirchen-Buer:
> http://douglas.bespin.org/tcm/ztab1.htm
> Please link to me and trade links with me!
>
> Open Source Sci-Fi mmoRPG Game project.
> http://sf-journey-creations.wikispot.org/Front_Page
> http://code.google.com/p/perspectiveproject/
> _______________________________________________
> Bf-funboard mailing list
> Bf-funboard at blender.org
> http://lists.blender.org/mailman/listinfo/bf-funboard
>



-- 
Jeffrey "Italic_" Hoover


More information about the Bf-funboard mailing list