either me or GC sux badly (GC don't reuse free memory)

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 13 02:35:00 PST 2014

On Wednesday, 12 November 2014 at 16:47:47 UTC, ketmar via 
Digitalmars-d wrote:
> but this clearly not an issue with sample which does 
> `GC.free()`, and
> it stops at 1.7GB, while C sample does the same and stops at 
> 2.9GB.

GC probably allocates some small blocks for pools and other data. 
If it gets in a middle of address space, that can cause 
fragmentation too. Try to add small allocations to the C sample 

More information about the Digitalmars-d mailing list