I ran into the same issue recently when prototyping an animation transfer tool and turning of undoQueues improved the memory performance significantly. Is there a way to set the undo to treat script execution as a single event instead?
On Thu, Dec 25, 2008 at 1:08 AM, Nicolas Combecave <[email protected] > wrote: > Yes, absolutely... > I juste tried to set my undoQueue to 1, and do several loops as mentionned > above, and although it takes a small amount of memory for the first loop, it > doesn't increase for the following ones. > > Nicolas > > > On Wed, Dec 24, 2008 at 5:58 PM, Chad Dombrova <[email protected]> wrote: > >> in that situation, i would guess that the leak is not really a leak, but >> just the memory required to undo all the setAttrs. >> -chad >> >> >> On Dec 24, 2008, at 11:30 AM, Nicolas Combecave wrote: >> >> Actually, turning off the undo queue does solve the leak problem. >> For info, I tested it here under maya2008-x64, linux, and it behaves >> exactly the same as maya 7.0.1 >> >> Nicolas >> >> >> On Tue, Dec 23, 2008 at 12:26 AM, Chadrik <[email protected]> wrote: >> >>> >>> Nicolas, >>> do you still get the memory leak with undo turned off? >>> >>> -chad >>> >>> >> >> >> >> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---
