Page MenuHome

Smoke simulator memory leak with high poly mesh emitter
Closed, ResolvedPublic

Description

System Information
Windows 7 x64

Blender Version
Broken: Official Release
Worked: It appears to work with an older 2.69.3 build.

Short description of error
If you have a highly subdivided plane used as smoke emitter memory consumption will go up steadily even with a low res smoke domain. Also memory isn't freed when loading a new scene.

Exact steps for others to reproduce the error
The attached .blend file has such a setup, just press Alt+A and check the memory usage. At frame 200 it's at around 3,5 gb on my system, at frame 300 at 5,2 gb and so on.

Event Timeline

Kai Kostack (kaikostack) raised the priority of this task from to 90.
Kai Kostack (kaikostack) updated the task description. (Show Details)
Kai Kostack (kaikostack) edited a custom field.

Hi,

i think i found the cause of this memoryleak. A copied derivedmesh was not freed after usage and copied again and again....

See the patch file for a (possible) fix.

scorpion81

Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.
Bastien Montagne (mont29) changed the task status from Unknown Status to Resolved.May 12 2014, 9:32 PM

Closed by commit rB355709432e4a.