[LLVMbugs] [Bug 11720] New: Excessive memory consumption
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jan 6 15:06:13 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11720
Bug #: 11720
Summary: Excessive memory consumption
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: kbelco at sandia.gov
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
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.
Memory 42g before I killed it.
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
Preprocessed file is attached, command used to generate PP source is:
/home/kbelco/llvm_linux/build/Debug+Asserts/bin/clang -E -c -g -D
BOOST_ALL_NO_LIB=1 -I .. -I
/sierra/Sntools/extras/compilers/intel/Compiler/11.1/064/tbb/include
-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 -o fail_quantity_scalar_add.o -x c++
../libs/units/test/fail_quantity_scalar_add.cpp
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list