Memory leak in rare cases using foreach and parallel

David Nadlinger code at
Tue Oct 15 20:36:05 UTC 2019

Hi Guillaume,

On 14 Oct 2019, at 8:52, Guillaume Lathoud via digitalmars-d-ldc wrote:
> This was difficult to reduce to a simple use case. The memory leak 
> happened in rare cases, but in those cases, it always happened.

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?


More information about the digitalmars-d-ldc mailing list