Memory leak in rare cases using foreach and parallel

Seb seb at
Thu Oct 17 06:43:38 UTC 2019

On Wednesday, 16 October 2019 at 05:39:22 UTC, Guillaume Lathoud 
> On Tuesday, 15 October 2019 at 20:36:05 UTC, David Nadlinger 
> wrote:
>> Just for future reference, do you know when the leak happened 
>> – once per execution? Once per thread? On every iteration?
>> And to clarify, by leak do you mean actual leaked memory, or 
>> excessive consumption of GC memory?
> In those particular cases, I observed in htop a growing memory 
> usage for the whole executable. I recall that all threads were 
> concerned. As soon as I switched to the iota implementation, 
> the problem disappeared. I cannot say much more than this.
> Best regards,
> Guillaume

Do you have by any chance a small reproducible example?

More information about the digitalmars-d-ldc mailing list