[cfe-dev] Enormous memory usage of clang
rafael.espindola at gmail.com
Wed Jul 4 16:35:21 PDT 2012
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.
On 4 July 2012 14:18, Konstantin Tokarev <annulen at yandex.ru> wrote:
> Hi all,
> I've found case when clang consumes much more memory that GCC (maybe it's a memory leak)
> Attachement is preprocessed translation unit from amalgamated Botan library.
> clang++ -c -O0 botan.ii # OK
> clang++ -c -O2 botan.ii # Memory usage reaches 1Gb and continues to grow
> clang++ -S -emit-llvm -O2 botan.i # OK
> llc -O2 botan.s # OK
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev