On Tue, 10 Feb 2015 11:44:09 +0000, 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 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 result we get ~200 MB of "dead data" in RAM, >>> which can be released by rebooting. How i can resolve it? >> >> Look for CTFE code, perhaps some of it is excessive. You can convert >> some of it to run-time in a module-level static this(). >> >> Bye, >> bearophile > > I think you don't understand me. 1.4~1.5 GB taked by compilator at > compilation my project in 100 string of code in 3 modules.
"fileVersion": 1, "versions": { "dunit": "1.0.10", "descore": "1.2.0", "derelict-ft": "1.0.2", "derelict-util": "1.9.1", "tga": "0.1.0", "des": "1.3.3", "derelict-sdl2": "1.9.1", "derelict-gl3": "1.0.12" } wow-wow, do you REALLY expect all that to compile with few megs of RAM? run "dub -v" and see the command lines. you'll be very surprised.
signature.asc
Description: PGP signature