This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, I have a 240k C source file which takes huge amounts of memory and runtime during compilation with -O3 on gcc-4.1.0. Peak memory usage is over 200MB and it requires 15 minutes cpu on a 2.6GHz Celeron. Memory consumption with -O2 is also pretty large, at about 90MB. The C source is just a series of function calls. The file is part of the test suite for GSL (GNU Scientific Library). -- best regards, Brian Gough (GSL Maintainer) http://www.gnu.org/software/gsl/ ---------------------------------------------------------------------- $ gcc -v -O3 test_trmm.i Using built-in specs. Target: i686-pc-linux-gnu Configured with: /home/bjg/ftp/gcc-4.1.0/configure --enable-languages=c Thread model: posix gcc version 4.1.0 /usr/local/libexec/gcc/i686-pc-linux-gnu/4.1.0/cc1 -fpreprocessed test_trmm.i -quiet -dumpbase test_trmm.i -mtune=pentiumpro -auxbase test_trmm -O3 -version -o /tmp/cchfvhDf.s GNU C version 4.1.0 (i686-pc-linux-gnu) compiled by GNU C version 4.1.0. GGC heuristics: --param ggc-min-expand=34 --param ggc-min-heapsize=34133 Compiler executable checksum: cfb1b2bd54706108adb6f3fd717f24e5 virtual memory exhausted: Cannot allocate memory
Attachment:
test_trmm.i
Description: test_trmm.i
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |