Похожие чаты

Is there any way to reduce or limit memory usage

of msvc on compiling cpp code?

19 ответов

16 просмотров

if you reduce the memory usage it will take longer to compile, right?

Déjà vu- Автор вопроса
Alejandro
if you reduce the memory usage it will take longer...

nope, depends on available ram. your main enemy is disk io. for example if a one core compilation stay on ram will be faster that 16 core full speed compilation which involve virtual memory.

Déjà vu
nope, depends on available ram. your main enemy is...

If you don’t have enough ram it will attempt to use IO, but it uses the ram it requires. I don’t think reducing the memory usage and compute more will be faster than the IO penalty

Déjà vu- Автор вопроса
Alejandro
If you don’t have enough ram it will attempt to us...

in my case is faster. even memory compression is faster in my hw

Déjà vu- Автор вопроса
Déjà vu- Автор вопроса
Manav | avoid unnecessary messaging me
-MP1 didn't work?

that's for cl not the msbuild, with cl directly it needs a lot out of sln configs

Déjà vu
that's for cl not the msbuild, with cl directly it...

yeah but I am sure you can pass commands to the compiler directly

Déjà vu
that's for cl not the msbuild, with cl directly it...

found this, https://github.com/Microsoft/checkedc-clang/wiki/Parallel-builds-of-clang-on-Windows#msbuild hmm, it uses CL_MPCount

Déjà vu- Автор вопроса
Manav | avoid unnecessary messaging me
found this, https://github.com/Microsoft/checkedc-...

aw so this way you can pass commands to cl via msbuild, interesting, thanks

Déjà vu
aw so this way you can pass commands to cl via msb...

That's specific to -MP. Let us know how it works out for you :)

Déjà vu- Автор вопроса
Déjà vu- Автор вопроса
Manav | avoid unnecessary messaging me
found this, https://github.com/Microsoft/checkedc-...

i've tested inside the ide config before but did not work. i will test the commandline soon and tell you.

Déjà vu
i've tested inside the ide config before but did n...

oh, if the ide config didn't work, then i doubt command line arguments will

Déjà vu- Автор вопроса

it seems that ue4 source code in windows has a complex undocumented config system, their sln works internally with make files and some custom selfdocumented configs in c#. maybe that's why msbuild config does not work. still i did not find a unified make file and in their c# configs there is nothing about compilation threads/processes. if you know something about their config system please let me know.

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта