How to debug long-lived D program memory usage?

Adam D. Ruppe destructionator at gmail.com
Wed Apr 17 22:34:53 UTC 2019


On Wednesday, 17 April 2019 at 17:03:20 UTC, Martin Krejcirik 
wrote:
> Do you run GC.minimize ?

Not explicitly, but I did try `call gc_minimize()` from the 
debugger when attached to processes and it made no difference.

Maybe I'll add a hook to the program to call that on a hotkey 
press for the future though, I can see some situations where it 
might make a difference.

(though I'd be kinda surprised if it didn't at least sometimes 
run automatically...)


More information about the Digitalmars-d-learn mailing list