Re: Investigating leaks using DMD heap scan mode

2018-05-08 Thread Kris Maglione
On Tue, May 08, 2018 at 04:08:27PM -0700, Andrew McCreight wrote: A few years ago I came up with an approach for using a combination of cycle collector logs and DMD (which tracks all live blocks of heap allocated memory) to investigate leaks of refcounted objects. I've only had to use it about a

Investigating leaks using DMD heap scan mode

2018-05-08 Thread Andrew McCreight
A few years ago I came up with an approach for using a combination of cycle collector logs and DMD (which tracks all live blocks of heap allocated memory) to investigate leaks of refcounted objects. I've only had to use it about a half dozen times (most recently in bug 1451985), but it is very