This is the mail archive of the 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]

[Bug tree-optimization/32199] jc1: out of memory allocating 4072 bytes after a total of 805021000 bytes

------- Comment #12 from alex dot d at bugmenot dot com  2007-09-19 14:38 -------
I've a similar problem when building SDL library (1.2.12), when using -O3
compilation flag. I'll try to attach an .i file that triggers the bug. After
starting the compilation, the memory starts getting consumed seemingly
indefinitely, eating all physical then swap, making system very unresponsive.
When ulimit-ing it to some sane values it crashes with messages like this:

cc1: out of memory allocating 4064 bytes after a total of 57159680 bytes

The command line:

gcc -O3 SDL_x11dyn.i

gcc -v output:

Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared
--enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit
--disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu
--disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.2.1
GNU C version 4.2.1 (i686-pc-linux-gnu)
        compiled by GNU C version 4.2.1.
GGC heuristics: --param ggc-min-expand=36 --param ggc-min-heapsize=27924


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]