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

via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 12 09:04:59 PST 2014


On Wednesday, 12 November 2014 at 16:47:47 UTC, ketmar via 
Digitalmars-d wrote:
> On Wed, 12 Nov 2014 16:40:10 +0000
> Sean Kelly via Digitalmars-d <digitalmars-d at puremagic.com> 
> wrote:
>
>> Try following the big allocation with a really small 
>> allocation to clear out any registers that may be referencing 
>> the large block.
> 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.

You should get debuginfo by compiling the runtime with the PRINTF 
debugging flag set:

https://github.com/D-Programming-Language/druntime/blob/master/src/gc/gc.d#L20


More information about the Digitalmars-d mailing list