[Bug c/19513] [IMA] High memory usage when compiling multiple files at a time

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 19 13:57:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-19 13:57 -------
(In reply to comment #5)
> Does this mean that there is a limit to how many files you can compile at a 
> time (due to limited memory)? Can't the garbage collector run between each 
> compilation?

Yes for limited by memory but GCC should not be as a hug of memory usage as shown by me looking 
into how to solve memory usage.
Yes the garbage collector runs but the problem is we keep around too much still after the compiler like 
FUNCTION_TYPEs which seems like most of those should be able to be shared.

I will attach later today the a tar ball with one of the files since that is really all that is needed to 
reproduce this bug.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19513



More information about the Gcc-bugs mailing list