devblog
This commit is contained in:
parent
c8995b040f
commit
e726aee7be
1 changed files with 4 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
||||||
I've spent two days trying to track down a recently introduced memory leak,
|
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
|
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
|
me is the memory is "PINNED", but not what allocated it or anything else
|
||||||
about it.
|
about it.
|
||||||
|
|
||||||
I probably should have bisected it, rather than staring at the code and
|
I probably should have bisected it, rather than staring at the code and
|
||||||
randomly reimplementing things I thought could be pinning memory. Oops.
|
randomly reimplementing things I thought could be pinning memory. Oops.
|
||||||
|
|
||||||
Anyway, I've solved one of them, and the other one, if it's a memory leak
|
And there is more memory that the profiler doesn't even show
|
||||||
at all, is memory that the profiler does not even show is in use, but that
|
being allocated, which got much bigger with a new toolchain, and I have not
|
||||||
does appear to be allocated, at least as far as mmap goes.
|
gotten to the bottom of that yet.
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue