Had the same issue.

If you ever figure out a solution or we have another idea....

We did escalate this with AD at one point, but it basically came down to a 
"sorry" that's how it works.

:\

On Thursday, January 24, 2013 12:29:34 AM UTC-8, [email protected] wrote:
> Thanks Chad,
> Good to know it's not entirely due to my incompetence :)
> 
> 
> I'm wondering if implementing the data structure as an MPxData instance and 
> storing it in a dynamic attribute would help Maya manage the memory more 
> appropriately?
> 
> 
> 
> Cheers!
> 
> 
> On Wed, Jan 23, 2013 at 12:37 PM, Chad Vernon <[email protected]> wrote:
> 
> Hey Serguei,
> 
> 
> 
> I was running into this issue at our previous place of employment :)  I never 
> figured out a way to release all the memory that Maya allocated.
> 
> 
> 
> 
> 
> On Wednesday, January 23, 2013 2:24:48 AM UTC-8, [email protected] wrote:
> 
> > Hi all,
> 
> >
> 
> >
> 
> > I'm working on a plugin that needs to create a dynamic hierarchical pointer 
> > octree.
> 
> > I'm storing it on the heap and make sure to do the required clean up after 
> > I'm through with it.
> 
> >
> 
> >
> 
> >
> 
> > However, I noticed that Maya won't release the allocated memory until the 
> > plugin is unloaded.
> 
> > It doesn't seem to make a difference whether I delete the plugin elements 
> > from the scene, flush undo stack, open new scene, etc.
> 
> >
> 
> >
> 
> >
> 
> > Does this sound familiar to anyone? Any suggestions would be appreciated!
> 
> 
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> 
> To post to this group, send email to [email protected].
> 
> To unsubscribe from this group, send email to 
> [email protected].
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Technical Director @ DreamWorks Animation

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to