[LLVMdev] [cfe-dev] [llvmdev] Clang 3.6 and trunk, high RSS usage compared to GCC (12.5GB vs. 0.5GB)
Joerg Sonnenberger
joerg at britannica.bec.de
Wed Jan 28 06:57:39 PST 2015
On Tue, Jan 27, 2015 at 03:19:33PM +0100, David Abdurachmanov wrote:
> I found that after moving to Clang pre-3.6 (git
> 65d8b4c4998b3a0c20934ea72ede72ef4838a004) and trunk (git
> 718825a8666acd9ceaab70fc7868332f20e2758f) our internal build machines started
> going offline in Jenkins. Clang after 3.5 release is consuming extreme amounts
> of memory in some cases.
I have seen a number of cases in pkgsrc, where the Value Propagation
pass results in a very high CPU and memory use. Attached is a hack that
allows disabling the pass via "-mllvm -disable-value-propagation". It
seems you are hitting the same issue.
Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prop.diff
Type: text/x-diff
Size: 2246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150128/8b6c1d97/attachment.diff>
More information about the llvm-dev
mailing list