Oskar Linde wrote: ... > I'd be interested to hear on what platform the original sample gives > unbounded memory leakage. > > /Oskar I can confirm this leak on windows XP with latest DMD. It just keeps growing until it runs out of memory. Not so if used with array of reals, or when you tell the gc that Individual hasNoPointers.