Matthias Goerner
Matthias Goerner
I can't reproduce this in current USD. When refactoring the UsdImaging_AdapterManager in May 2023, I added a check that the prim is valid ["if (!prim) { return ...; }"] to...
Python 2.7 failures are unrelated to this commit.
Where actually is code that is computing the width of a box? In drawsvg.js, I see vis.data([json])...attr("width",function(d){return x(d.dx);}) but I can't figure out where that dx is computed. The metric...
I came up with an example to illustrate my point: ``` def sumOfSquares(r): return sum(x ** 2 for x in range(r)) def indirectSumOfSquares(r): return sumOfSquares(r) def sillyComputation(r): return sumOfSquares(r) -...
Just found the code that is computing the widths of the boxes: https://github.com/jiffyclub/snakeviz/blob/b8e9f9a8eb3b3e152aff04b913edfb78e36df87b/snakeviz/static/drawsvg.js#L39-L41 And here is the code that is putting the text in the boxes: https://github.com/jiffyclub/snakeviz/blob/b8e9f9a8eb3b3e152aff04b913edfb78e36df87b/snakeviz/static/drawsvg.js#L296-L297 I hope that...
Thanks for your explanation. I see... That's unfortunate on cProfile's part :(
There is another project [pyprof2calltree](https://pypi.org/project/pyprof2calltree/), also see http://thomas-cokelaer.info/blog/2013/10/profiling-python-with-valgrind/. Does it suffer from the same problem?
I am missing some context about how this memory leak came about and what the repro steps are. Looking at this again, I noticed that HdStResourceRegistry::GarbageCollect doesn't call GarbageCollect on...
In a couple of days, the change I described above and checked in should appear here. Can you confirm it fixes the leak?
Thanks for your change. I want to get clarity on one issue: UsdImagingStageSceneIndex::GetPrim and UsdImagingStageSceneIndex::GetChildPrimPaths both have an early bail "if (!prim) { return EMPTY; }". So even without your...