digitalmars.D.learn - How big memory is allocated by GC?
- tcak (6/6) Apr 03 2016 Is there any way to know how big memory has been allocated by GC
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.
Apr 03 2016