maya dynamica memory leak

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
Post Reply
Posts: 1
Joined: Mon Dec 16, 2013 3:56 pm

maya dynamica memory leak

Post by MOAB »

Hi everyone,

It's been a while since I have fun with Maya Dynamica (maya 2014 + dynamica 2.81) and it's really a great plugin.

I'm currently working on a script that can deactivate/activate Rigid Bodies in different ways :
-by objects
-by bomb
-by mouse...

But I am facing a problem :
It's seems like maya dynamica has some memory leak issues.


--> Look at your memory before starting
--> Create a new scene
--> Create only a passive rigid body plane in your maya scene
--> Copy those lines of code into you script editor and execute

import maya.cmds as cmds

# It's like you are playing animation and you go back to the first frame
# you do this many times for tweaking the settings

for i in xrange(50):

--> Look again at your memory
--> The memory has increase and even if you create a new scene, maya doesn't release memory.

So if someone can test it and give me his results.
I did the same thing with Maya Bullet and I didn't have any problem. (but I don't like maya bullet).

Thanks in advance for your answers.
Post Reply