Compilation with dub + dmd: out of memory

2015-02-10 Thread Vlasov Roman via Digitalmars-d-learn
I have the quite computer with 2 GB RAM. At compilation with dub and dmd of small project this pair eating about 1.4~1.5 GB RAM. I solve this probleb by connecting swap partition, but it calls some freezes + it take ~10% of swap, and after compilation swap not released. At switching off swap as

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread bearophile via Digitalmars-d-learn
Vlasov Roman: I have the quite computer with 2 GB RAM. At compilation with dub and dmd of small project this pair eating about 1.4~1.5 GB RAM. I solve this probleb by connecting swap partition, but it calls some freezes + it take ~10% of swap, and after compilation swap not released. At switc

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread Vlasov Roman via Digitalmars-d-learn
On Tuesday, 10 February 2015 at 11:32:32 UTC, bearophile wrote: Vlasov Roman: I have the quite computer with 2 GB RAM. At compilation with dub and dmd of small project this pair eating about 1.4~1.5 GB RAM. I solve this probleb by connecting swap partition, but it calls some freezes + it take

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread Mathias LANG via Digitalmars-d-learn
On Tuesday, 10 February 2015 at 11:24:21 UTC, Vlasov Roman wrote: I have the quite computer with 2 GB RAM. At compilation with dub and dmd of small project this pair eating about 1.4~1.5 GB RAM. I solve this probleb by connecting swap partition, but it calls some freezes + it take ~10% of swap,

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread via Digitalmars-d-learn
On Tuesday, 10 February 2015 at 11:24:21 UTC, Vlasov Roman wrote: I have the quite computer with 2 GB RAM. At compilation with dub and dmd of small project this pair eating about 1.4~1.5 GB RAM. DMD 2.067 will have memory (an in turn speed) optimizations in CTFE.

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread Daniel Kozák via Digitalmars-d-learn
V Tue, 10 Feb 2015 11:44:09 + Vlasov Roman via Digitalmars-d-learn napsáno: > On Tuesday, 10 February 2015 at 11:32:32 UTC, bearophile wrote: > > Vlasov Roman: > > > >> I have the quite computer with 2 GB RAM. At compilation with > >> dub and dmd of small project this pair eating about 1.4~1

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread Vlasov Roman via Digitalmars-d-learn
On Tuesday, 10 February 2015 at 11:55:43 UTC, Daniel Kozák wrote: V Tue, 10 Feb 2015 11:44:09 + Vlasov Roman via Digitalmars-d-learn napsáno: On Tuesday, 10 February 2015 at 11:32:32 UTC, bearophile wrote: > Vlasov Roman: > >> I have the quite computer with 2 GB RAM. At compilation >> wit

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread ketmar via Digitalmars-d-learn
On Tue, 10 Feb 2015 11:44:09 +, Vlasov Roman wrote: > On Tuesday, 10 February 2015 at 11:32:32 UTC, bearophile wrote: >> Vlasov Roman: >> >>> I have the quite computer with 2 GB RAM. At compilation with dub and >>> dmd of small project this pair eating about 1.4~1.5 GB RAM. I solve >>> this pr

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread Vlasov Roman via Digitalmars-d-learn
On Tuesday, 10 February 2015 at 12:42:07 UTC, ketmar wrote: On Tue, 10 Feb 2015 11:44:09 +, Vlasov Roman wrote: On Tuesday, 10 February 2015 at 11:32:32 UTC, bearophile wrote: Vlasov Roman: I have the quite computer with 2 GB RAM. At compilation with dub and dmd of small project this pai

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread ketmar via Digitalmars-d-learn
On Tue, 10 Feb 2015 13:03:14 +, 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 onc

Re: Compilation with dub + dmd: out of memory

2015-02-10 Thread ddos via Digitalmars-d-learn
On Tuesday, 10 February 2015 at 12:18:15 UTC, Vlasov Roman wrote: On Tuesday, 10 February 2015 at 11:55:43 UTC, Daniel Kozák wrote: V Tue, 10 Feb 2015 11:44:09 + Vlasov Roman via Digitalmars-d-learn napsáno: On Tuesday, 10 February 2015 at 11:32:32 UTC, bearophile wrote: > Vlasov Roman: