Thread overview
DMD build process has run out of memory!
Jul 25, 2020
zoujiaqing
Jul 25, 2020
zoujiaqing
Jul 25, 2020
Tove
July 25, 2020
OMG ..

# git clone https://github.com/huntlabs/hunt-skeleton.git
# cd hunt-skeleton/
# dub build -v
/opt/dmd/freebsd/bin64/dmd failed with exit code -9. This may indicate that the process has run out of memory.

July 25, 2020
On Saturday, 25 July 2020 at 07:39:22 UTC, zoujiaqing wrote:
>
> OMG ..
>
> # git clone https://github.com/huntlabs/hunt-skeleton.git
> # cd hunt-skeleton/
> # dub build -v
> /opt/dmd/freebsd/bin64/dmd failed with exit code -9. This may indicate that the process has run out of memory.

AMD Ryzen 3700U + 8G RAM
July 25, 2020
On Saturday, 25 July 2020 at 07:45:06 UTC, zoujiaqing wrote:
> On Saturday, 25 July 2020 at 07:39:22 UTC, zoujiaqing wrote:
>>
>> OMG ..
>>
>> # git clone https://github.com/huntlabs/hunt-skeleton.git
>> # cd hunt-skeleton/
>> # dub build -v
>> /opt/dmd/freebsd/bin64/dmd failed with exit code -9. This may indicate that the process has run out of memory.
>
> AMD Ryzen 3700U + 8G RAM

I have no idea how dub works since I don't use it.

But dmd has a '-lowmem' option you can enable.