Page 1 of 1
Memory leak ?
Posted: Sun Jul 05, 2015 12:43 pm
by theotheo
Hi Juan,
I'm doing a long sequence (600ish frames), and need to do a full scene update on each frame due to large-ish alembic files with changing topology. Still frames works wonders, it usually peaks around 4-5 gb in memory usage.
Now I've noticed it doesn't max out my TitanX card (12gb ram) but my on board memory just keeps expanding and expanding. Until its used all 24 gb of memory and then crashes. Which right now means I have to babysit my renders.
I've not had this problem with Mantra before, but then again I am testing out a new lighting pipeline so who knows.
Perhaps we need to look at flushing the memory both in terms of on board and GPU memory between frames ?
Is this something you've experienced ?
Re: Memory leak ?
Posted: Sun Jul 05, 2015 1:03 pm
by theotheo
Right now, I get about 25 frames before I need to restart the render.
Tried disabling rendering to mplay and displaying the render, but its still "leaking". I keep a close eye on the resource monitor and can see when it peaks.
Win8.1
Re: Memory leak ?
Posted: Sun Jul 05, 2015 3:57 pm
by juanjgon
Thanks for reporting. I will check it tomorrow. Can you send me a scene with this problem to reproduce it here?
-Juanjo
Re: Memory leak ?
Posted: Sun Jul 05, 2015 4:32 pm
by theotheo
I'd love to send you a scene, but I'm NDA'd up to my ears. Besides, alembic caches are clocking in at 15gb each.
If it matters, I've got one big alembic cache at 15gb, (about 400mb a frame) and 5 instanced verisions dottet around, so I dont know if this is an instancing issue. Oh and two 8k textures.
It all renders fine and each frame clocks in about 5gb each, so Octane have no problems rendering the sequence, it just seems to accumulate over the range. And then it crashes when it reaches my 24gb system memory. But not always, I jsut had once instance where it just shut Octane and Houdini's rendering down but not Houdini itself.
But it looks like its not clearing the system cache between frames, perhaps just a checkbox in the rop to do this would be good ?
Re: Memory leak ?
Posted: Mon Jul 06, 2015 8:23 am
by juanjgon
Thanks, I think that I can reproduce the memory leak here rendering in full scene reload mode (in update scene mode all seems to work fine). I am working on it to know the source of the problem.
-Juanjo
Re: Memory leak ?
Posted: Mon Jul 06, 2015 8:53 am
by juanjgon
Yes, I have found a memory leak rendering in full scene reload mode. I can send you a custom build with this problem fixed, but I need to know your OS and Houdini build.
-Juanjo
Re: Memory leak ?
Posted: Mon Jul 06, 2015 10:28 am
by theotheo
Thats great news! I don't have my system in front of me today, so I'll have to get back to you on the setup specs. I assume you'll push this into the next release ?
-theo
Re: Memory leak ?
Posted: Mon Jul 06, 2015 10:32 am
by juanjgon
Yes, I will release a new beta later this week.
-Juanjo
Re: Memory leak ?
Posted: Mon Jul 06, 2015 10:50 am
by theotheo
Terrific Juan, excellent support and work on the plugin! I'm really digging working with Octane in Houdini. It complements mantra very well, and with the advent of Octane3 and deep I should be able to integrate both renders properly.