You can control when the gc runs. So if you know the allocations
are small enough that they won't OOM, then you can say
GC.disable, and it straight up won't run at all. But you can
manually run a collection cycle (during a loading screen or
whatever) with GC.collect. See
http://dpldocs.info/experimental-docs/core.memory.GC.html
- Using tasks without GC? Chris Katko via Digitalmars-d-learn
- Re: Using tasks without GC? H. S. Teoh via Digitalmars-d-learn
- Re: Using tasks without GC? Elronnd via Digitalmars-d-learn
- Re: Using tasks without GC? dwdv via Digitalmars-d-learn
- Re: Using tasks without GC? Chris Katko via Digitalmars-d-learn