This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Reducing compilation memory usage
- From: "John (Eljay) Love-Jensen" <eljay at adobe dot com>
- To: "Alejandro Pulver" <alepulver at FreeBSD dot org>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 17 Jan 2008 11:26:37 -0800
- Subject: RE: Reducing compilation memory usage
- References: <20080117170952.7d569374@deimos.mars.bsd>
Hi Alejandro,
> Do you know about an option or something that could help in this case?
No, sorry. Your problem exceeds my experience.
> I've read something about compilers and this high memory usage could be caused by keeping references to variables of other blocks (compilation units, IIRC). So if there is a way to disable that optimizations (tried -fno-unit-at-a-time and max-pending-list-length=1), and to make it the most "linear" as possible, it would help (if there are such additional things I missed).
> Or should I ask this more specific question in another place?
I think this is the best (and correct) forum for your question.
Sincerely,
--Eljay