2020-10-13 20:46:32 +00:00
|
|
|
I've spent two days trying to track down a recently introduced memory leak,
|
|
|
|
or leaks. This was unusually hard because all the profiler could tell
|
|
|
|
me is the memory is "PINNED", but not what allocated it or anything else
|
2020-10-13 22:41:47 +00:00
|
|
|
about it.
|
2020-10-13 20:46:32 +00:00
|
|
|
|
|
|
|
I probably should have bisected it, rather than staring at the code and
|
|
|
|
randomly reimplementing things I thought could be pinning memory. Oops.
|
|
|
|
|
2020-10-13 22:41:47 +00:00
|
|
|
And there is more memory that the profiler doesn't even show
|
|
|
|
being allocated, which got much bigger with a new toolchain, and I have not
|
|
|
|
gotten to the bottom of that yet.
|
2020-10-13 20:46:32 +00:00
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
This work was sponsored by Jake Vosloo and Mark Reidenbach
|
|
|
|
<a href="https://patreon.com/joeyh">on Patreon</a>.
|