On Saturday, 21 March 2020 at 00:17:37 UTC, kinke wrote:
Most likely because dub doesn't actually invoke the listed command, but uses a response file to work around cmdline length limits. -lowmem in response files is ignored by DMD (needs to be parsed and set before druntime initialization, but response file parsing needs druntime + GC). It works for LDC though.

So there is no way to do -lowmem with dub and dmd?

I'm not having out-of-memory problems with ldc, luckily.

Reply via email to