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

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 12 08:06:59 PST 2014


On Wed, 12 Nov 2014 15:19:51 +0000
Kagamin via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> On Wednesday, 12 November 2014 at 11:05:11 UTC, ketmar via 
> Digitalmars-d wrote:
> > the question is: am i doing something wrong here? how can i 
> > force GC to
> > stop eating my address space and reuse what it already has?
> 
> Try to allocate the arrays with NO_SCAN flag.
btw, compiler is smart enough to allocate array with NO_SCAN flag, i
checked this with `GC.getAttr()`.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141112/392339c2/attachment.sig>


More information about the Digitalmars-d mailing list