Minimise and collect by GC when OutOfMemory

tcak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 25 21:47:08 PST 2016


Would it be a good idea to call "collect" and "minimize" methods 
of core.memory.GC when OutOfMemory error is received FOR A LONG 
RUNNING PROGRAM? or there won't be any benefit of that?

Example program: A web server that allocates and releases memory 
from heap continuously.


More information about the Digitalmars-d-learn mailing list