This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: apparent memory increase
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: GCC List <gcc at gcc dot gnu dot org>
- Date: Fri, 23 May 2008 15:28:22 +0200
- Subject: Re: apparent memory increase
- References: <m3ej7vp8cb.fsf@fleche.redhat.com>
> You may have seen this warning from the memory consumption tester:
>
> http://gcc.gnu.org/ml/gcc-regression/2008-05/msg00041.html
>
> ... related to the recent identifier GC patch.
>
> I looked into this a little. My theory is that this is an artifact of
> how the tester collects its data. In particular I suspect the tester
> was not including the identifier data in its memory stats -- but now,
> because identifiers are allocated via the GC, they are included.
This is my understanding too, that is why I did not reply to that mail.
SBRK memory didn't increased, so we just moved stuff into GGC from
memory we didn't track at all.
Honza
>
> If this theory is in error, let me know and I will investigate some
> more. In this case, it would be helpful to have the script that
> generates the report.
>
> Tom