Hi Lucas,
I'm having a bit of a memory leak problem with a Python/inlinecpp SOP which might be related to that last bit of information you provided about automatically created frozen geometry (I'm glad I looked here first).
My phython SOP code is roughly this:
geo = hou.pwd().geometry()
partfile = hou.evalParm(“partfile”)
loadmodule.LoadPartFile(geo, partfile)
where LoadPartFile is an inlinecpp code that loads binary data and generates points (tons of it). This code starts accumulating memory when I do a flip book and never frees it. However if I change the code to:
partfile = hou.evalParm(“partfile”)
loadmodule.LoadPartFile(hou.pwd().geometry(), partfile)
Everything is fine. Note that this one leaks as well even though I don't use geo at all:
geo = hou.pwd().geometry()
partfile = hou.evalParm(“partfile”)
loadmodule.LoadPartFile(hou.pwd().geometry(), partfile)
Could this be related to automatically freezing and not properly freeing this frozen geometry?
Thanks,
–Tolga
Found 2 posts.
Search results Show results as topic list.
Technical Discussion » Problem with geometry().freeze()
- tolovan
- 2 posts
- Offline
Technical Discussion » ptex support in HDK
- tolovan
- 2 posts
- Offline
Hi,
I want to process some geometry based on ptex displacements in a SOP plugin. Is there a way to access ptex in HDK?
Thanks.
I want to process some geometry based on ptex displacements in a SOP plugin. Is there a way to access ptex in HDK?
Thanks.
-
- Quick Links