[cfe-dev] Memory consumption measurement results

Eli Friedman eli.friedman at gmail.com
Wed Mar 31 07:29:04 PDT 2010


On Wed, Mar 31, 2010 at 4:33 AM, ihusar <ihusar at fit.vutbr.cz> wrote:
>   so I did some memory consumption measurement and the results are as
> follows:
>
> source file size: 12MB
> resulting .bc file with debug info has 250MB
>
> clang: max. 4.8 GB
> clang -fsyntax-only: max. ~120 MB

Good to know.

> llvm-gcc: max. 4.1 GB
> gcc 4.4.1: max 1.4 GB
> opt -O3: max. 3.6 GB

Can you check the max memory consumption of "opt result.bc
-disable-output" (running opt without any optimization passes)?

-Eli




More information about the cfe-dev mailing list