Hi Howard, Thanks but this gives me the same result. If I run this [CODE] for n in range(10000):
a = nuke.nodes.Grade() a['selected'].setValue(True) nukescripts.node_delete(popupOnError=True) [/CODE] i get 500 megs added for each execution! Weird!! > > > Howard > > ------------------------------ > *From:* Luca Fiorentini <[email protected]> > *To:* Nuke Python discussion <[email protected]> > *Sent:* Tuesday, 25 September 2012, 19:05 > *Subject:* [Nuke-python] nuke delete seems not to flush memory > > Hi, > > I am trying to delete some nodes from the workspace with this code > > [CODE]for n in nuke.allNodes(): > nuke.delete(n)[/CODE] > > where n is my object. > This is part of a function that I use to delete and then recreate some > nodes and every time I call it the ram usage goes up. > So it seems to me that nuke is unable to flush the memory where the nodes > where stored. > Is this a known bug or I am missing something? > > Thanks for your time. > > -- > *Luca Fiorentini - 3D Lighting Artist* > My Showreel <http://www.vimeo.com/lucafiorentini/reel> - My > blog<http://lucafiorentini.wordpress.com/>- My > Flickr <http://www.flickr.com/photos/lucafiorentini> > > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > -- *Luca Fiorentini - 3D Lighting Artist* My Showreel <http://www.vimeo.com/lucafiorentini/reel> - My blog<http://lucafiorentini.wordpress.com>- My Flickr <http://www.flickr.com/photos/lucafiorentini>
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
