dmd out of memory compiling vibed project

Nicholas Wilson iamthewilsonator at hotmail.com
Thu May 23 01:17:26 UTC 2019


On Thursday, 23 May 2019 at 00:26:03 UTC, Guillaume wrote:
> I don't know how to add a "-lowmem" switch to those compiler... 
> but I suspect it would not change anything.

If you're using a dub.sdl:

dflags "-lowmem"

dub.json:

{
    ...
     "dflags" : ["-lowmem"]
}

The compiler directly:

dmd -lowmem [rest of args...]

See dflags under Build settings in 
https://dub.pm/package-format-sdl 
https://dub.pm/package-format-json.html


More information about the Digitalmars-d mailing list