View Full Version : displacement memory leak?, need confirmation

03-22-2013, 12:48 PM
I think lwsdk.IDisplacement is leaking memory, well it appears to be on win32.

I have attached a simple python displacement script, could some peeps test it on their system and confirm or deny the leak?

you need to add it as a plugin, not run it as a script.

Load a high density mesh to an empty scene.

Apply the plugin in object properties/deformation

hit play on the scene and watch your task manager for memory/page file useage.

On win32 it will eat all the memory and layout will eventually crash.

Clearing the scene doesn't recover the memory, you need to quit layout.

The plugin just gets the world position of the mesh each frame but does nothing with the info, your mesh should not deform.


03-24-2013, 02:20 PM
It seems to be true

03-25-2013, 01:12 AM
Thank You, are you on win32?

03-25-2013, 04:21 AM
I tried in 11.5_PC32 (win7_64)