[cfe-dev] Memory issue on Linux

Belcourt, Kenneth kbelco at sandia.gov
Fri Jan 6 14:37:13 PST 2012


Hi,

I apologize if this is the wrong list.  I've been running Boost trunk regression tests with trunk clang and wanted to point out this test on Linux consumes rather a lot of memory, and continues to consume memory if I let it run.  I've pasted the compile line in case that helps.  I'm unable to build clang trunk optimized on Linux, not sure why and don't know whether that would dramatically affect the compiler memory footprint anyways.  I haven't checked to see if the problem exists on the Mac.

-- Noel Belcourt

24604 kbelco    25   0 42.7g  42g  14m R 100.2 16.9   3:24.48 clang                                                                         

0 R kbelco   24604 24603 99  85   0 - 12665762 -   15:19 ?        00:03:51 /home/kbelco/llvm_linux/build/Debug+Asserts/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name fail_quantity_scalar_add.cpp -pic-level 2 -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.17.50.0.6 -momit-leaf-frame-pointer -g -coverage-file /scratch/kbelco/boost/results/boost/bin.v2/libs/units/test/fail_quantity_scalar_add.test/clang-linux-trunk/debug/fail_quantity_scalar_add.o -resource-dir /home/kbelco/llvm_linux/build/Debug+Asserts/bin/../lib/clang/3.1 -D BOOST_ALL_NO_LIB=1 -I .. -fmodule-cache-path /var/tmp/clang-module-cache -I /sierra/Sntools/extras/compilers/intel/Compiler/11.1/064/tbb/include -internal-isystem /usr/include/c++/v1 -internal-isystem /usr/local/include -internal-isystem /home/kbelco/llvm_linux/build/Debug+Asserts/bin/../lib/clang/3.1/include -internal-externc-isystem /usr/include -internal-externc-isystem /home/kbelco/gcc-4.4.4/include/c++/4.4.4 -internal-externc-isystem /home/kbelco/gcc-4.4.4/include/c++/4.4.4/x86_64-unknown-linux-gnu -O0 -Wall -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /scratch/kbelco/boost/boost/status -ferror-limit 19 -fmessage-length 0 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /scratch/kbelco/boost/results/boost/bin.v2/libs/units/test/fail_quantity_scalar_add.test/clang-linux-trunk/debug/fail_quantity_scalar_add.o -x c++ ../libs/units/test/fail_quantity_scalar_add.cpp






More information about the cfe-dev mailing list