PDA

View Full Version : displacement memory leak?, need confirmation



LightFreeze
03-22-2013, 01: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.

thanks

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

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

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