[cfe-dev] Enormous memory usage of clang

Konstantin Tokarev annulen at yandex.ru
Sun Jul 8 12:35:17 PDT 2012



05.07.2012, 03:35, "Rafael EspĂ­ndola" <rafael.espindola at gmail.com>:
> What clang version are you using? What target?
>
> I just tried 159724 on linux x86-64 and "clang++ -c -O2 botan.ii"
> peaks at about 366 MB.

Please try clang++ -c -O2 -g botan.ii (previous revision of clang leaked memory without -g too, but it doesn't reproduce on latest trunk)

I'm using clang trunk (r159913), linux x86-64, built with clang++ -O2

-- 
Regards,
Konstantin



More information about the cfe-dev mailing list