D1: Out of memory problems

jicman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 11 09:12:20 PDT 2015


On Friday, 10 April 2015 at 13:47:52 UTC, Kagamin wrote:
> On Tuesday, 7 April 2015 at 15:28:21 UTC, jicman wrote:
>> Hmmmm... Will you be able to give me an example of what is bad 
>> and then fix that bad to a good?  This may be my problem...
>
> maybe
> aTUs = AddToTrackerRepeat(aTUs, source.dup, fn, 1, target.dup);

This change causes an out of memory almost instantly.  Without 
this change, it takes longer to run out of memory.



More information about the Digitalmars-d-learn mailing list