Compilation with dub + dmd: out of memory

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 10 05:32:18 PST 2015


On Tue, 10 Feb 2015 13:03:14 +0000, Vlasov Roman wrote:

> Whether correctly I understand that the problem is that my dependences
> have other dependences which are compiled with my project?

dub tries to build the libraries your project depends on, and some of 
that libraries are very big. but once that libraries are built, you may 
be able to build your project in one go.

> Yes, i very surpriced, because i use only 1-2 "shared" modules.
> So, i can copy this modules just in my project, but in big projects this
> problem can be very serious.

did you tried the proposed "--build-mode=singleFile" mode?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150210/2d0a138e/attachment.sig>


More information about the Digitalmars-d-learn mailing list