either me or GC sux badly (GC don't reuse free memory)
via Digitalmars-d
digitalmars-d at puremagic.com
Wed Nov 12 08:13:39 PST 2014
On Wednesday, 12 November 2014 at 16:06:32 UTC, ketmar via
Digitalmars-d wrote:
> if i'll use libc malloc() for allocating, everything works as i
> expected: address space consumtion is on par with allocation
> size.
The gc uses C's calloc rather implementing memory handling itself
using the OS so you get fragmentation:
https://github.com/D-Programming-Language/druntime/blob/master/src/gc/gc.d#L2223
More information about the Digitalmars-d
mailing list