dreamworksanimation / openmoonray

MoonRay is DreamWorks’ open-source, award-winning, state-of-the-art production MCRT renderer.
https://openmoonray.org/
Apache License 2.0
4.27k stars 248 forks source link

moonray_gui on MacOS leaks substantial memory when orbiting camera #166

Open troberstones opened 4 weeks ago

troberstones commented 4 weeks ago

raas_gui, or rather moonray_gui leaks memory when you use the interactive camera controls. Rendering the test curves.rdla file takes about 800MB of memory, but after interacting with the camera it balloons, I've seen it as high as 7.5GB before I closed it.

I see error messages like this

TBB MCRT thread pool                                                                                                                 ]   0.0% 
Context leak detected, msgtracer returned -1                                                                                         ]   0.0% 
TBB MCRT thread pool

however I don't know if this is relevant.

jmahovsky-dwa commented 3 weeks ago

Can you try with -exec_mode scalar or -exec_mode vector? We think this might be an XPU-mode bug.

jmahovsky-dwa commented 3 weeks ago

We have found the problem and a fix is in the works.