How big memory is allocated by GC?

tcak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 3 11:58:54 PDT 2016


Is there any way to know how big memory has been allocated by GC 
currently (or in the last scan)?

I want to limit the total memory usage of program manually. So, 
while I am allocating some space (in server program), if the 
desired memory will exceed the limit, I will fail the operation 
immediately.


More information about the Digitalmars-d-learn mailing list