This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/19513] [IMA] High memory usage when compiling multiple files at a time
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2005 13:57:19 -0000
- Subject: [Bug c/19513] [IMA] High memory usage when compiling multiple files at a time
- References: <20050118215623.19513.ch@csh-consult.dk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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