Ticket #10700 (assigned)
Huge memory usage compiling Kernel with clang.
Reported by: | Martyn Gigg | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | major | Milestone: | Release 3.5 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
I was having a quick play with the include-what-you-use tool after merging in the changes from #10685 locally. It seems that clang requires about ~12Gb of memory to compile Kernel. It looks as if it is the linking step that ramps up the memory usage.
I don't it's anything to do with those changes but something about the code in Kernel. We should find out why.
It's worth noting that when compiling with gcc the linking step seems to take a disproportionate amount of time to the size of the library.
My suspicion is all of the static objects in Atom.cpp but that's just a guess.
Change History
Note: See
TracTickets for help on using
tickets.