On 11/18/19 3:16 AM, Jacob Carlborg wrote:
On Monday, 18 November 2019 at 00:20:12 UTC, Steven Schveighoffer wrote:I'm fighting some out of memory problems using DMD and some super-template heavy code.Try to enable the GC using the `-lowmem` flag [1]. [1] https://dlang.org/changelog/2.086.0.html#lowmem
I don't think this will work for me, as this isn't CTFE, and I'm assuming the instantiated templates won't be collected because they stay referenced for the whole program.
-Steve