I am writing this animation transfer tool that seems to be having some trouble handling the memory. Maya claims another 5 mb or memory for each export I do, even though it's supposed to write everything to disc and clear all objects. The export only queries data so nothing is in the undo stack and I can't see any other reason for Maya to use mem on it so I guess it's hiding somewhere in my python code. 5mb aren't much I know but when you are batching a bunch of exports it quickly adds up. I've been trying to find the flaw for a while now but without success so I'm wondering if there is any specific way to go about this? I have a feeling that it might be the python session that doesn't close after execution of the script so the garbage collector can't run properly though that's just a wild guess. Any help would be greatly appreciated
-- JAKOB WELNER _____________ Animator | R&D jakob.welner.dk --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
