This is the mail archive of the gcc@gcc.gnu.org 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]

Re: apparent memory increase


On Thu, May 22, 2008 at 1:04 AM, Tom Tromey <tromey@redhat.com> wrote:
> 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.
>
> 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.

For big testcases I actually see a consistend reduction in peak
overall memory usage
(the number if you would look at 'top').  For small testcases I can
see both ups and downs,
probably because of changes in the number and points of GC collections
(but I guess
that is expected).

Richard.


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