U
U
Urukhayy2019-02-16 13:57:47
C++ / C#
Urukhayy, 2019-02-16 13:57:47

Is it normal for a C++ program to consume 2+ GB of RAM at the time of compilation through make?

Is it normal for a C++ program to take up 2+ GB of RAM when compiled with make?
Classes contain a lot of methods, as well as a large number of external functions outside the class.
What determines the amount of RAM occupied during compilation and how strongly is the amount of RAM occupied during compilation and occupied at the time of execution of the same program related?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
yayashitoya, 2019-02-16
@Urukhayy

Is it normal for a C++ program to take up 2+ GB of RAM when compiled with make?

We are "wangs". Well, maybe you are trying to compile Windows sources ....
From the volume of modules / libraries.
From the level of the requested optimization.
and how strongly is the amount of RAM occupied during compilation and occupied at the time of execution of the same program?
Doesn't depend at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question