Debugging a Memory Leak

Maxime Chevalier-Boisvert via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 17 20:41:42 PST 2014


> GC problems are *nasty*. My advice is to run the simplest 
> program you can think of that still exhibits the problem, and 
> then put in printf debugging everywhere to see where it breaks 
> down.
>
> Not sure if this is useful.

Unfortunately, the program doesn't break or crash. It just keeps 
allocating memory that doesn't get freed. There must be some 
false reference somewhere. I'm not sure how I can printf debug my 
way out of that.


More information about the Digitalmars-d-learn mailing list