DMD32 compiling gtkd out of memory on 32bit Windows 7 machine

Timoses timosesu at gmail.com
Wed Sep 12 15:13:36 UTC 2018


On Wednesday, 12 September 2018 at 06:06:15 UTC, dangbinghoo 
wrote:
> hi ,
>
> When compiling gtkd using dub, dmd32 reported "Out for memory" 
> and exit.
>
> OS: Windows 7 32bit.
> RAM : 3GB
> DMD version: v2.0.82.0 32bit.
>
> No VC or Windows SDK installed, when setting up dmd, I selected 
> install vc2010 and use mingw lib.

try `dub --build-mode=singleFile` ? I believe this will compile 
each file and then link them together (instead of compiling it 
all together what dub does, afaik).
There's been another topic on memory consumption of compilation 
[1].

[1]: 
https://forum.dlang.org/post/ehyfilopozdndjdahdim@forum.dlang.org


More information about the Digitalmars-d-learn mailing list