On Mon, 30 Jun 2014 10:12:40 GMT, donald wrote:

On Mon, 30 Jun 2014 09:59:50 GMT, Sönke Ludwig wrote:

In this case you could either just copy the binary over to that machine, or set up a swap file, but that may of course result in very slow compilation.

$ free -m
             total       used       free     shared    buffers     cached
Mem:           490         82        407          0          3         43
-/+ buffers/cache:         36        453
Swap:          511         45        466

I'll copy the binary to that computer.

Thanks a lot:)

Hopefully, DMD will soon get better with its memory consumption! BTW, for DUB master it's also possible to use dub build --build-mode=singleFile to reduce the memory consumption per process invocation at the cost of a longer overall compile time. So that might be another option.