I've written a bunch of import/export scripts and usually store data in an array (or several arrays), then make one massive dump at the end. I do it that way mostly for performance reasons. I've never had an issue with memory, but I have occasionally run into issues exceeding storage capacity of certain variable types such as a string when writing to a file as some array methods convert data to string internally before passing the data to where you need it.
Matt
------------------------------Matt LindAnimator / Technical DirectorSOFTIMAGE certified instructor: SOFTIMAGE|3D SOFTIMAGE|XSIMatt.Lind(at)Mantom(dot)net
Re: XSI to AE script updated
Date : Fri, 7 Sep 2007 11:32:01 -0400
To : XSI(at)Softimage.COM