This is the mail archive of the
mailing list for the binutils project.
Re: RFC: PATCH: Avoid reading debug symbols
On Wed, Mar 19, 2008 at 09:00:22PM +1030, Alan Modra wrote:
> On Tue, Mar 18, 2008 at 12:36:41PM -0700, H.J. Lu wrote:
> > Does this patch make senses?
> Why don't you tell us? Presumably the benefit is reduced memory usage
> and/or faster symbol processing. Show the numbers..
I have an executable with 45 million debug symbols. The current
strip runs out of memory on a machine with 4GB RAM and 2GB swap
while reading in the whole symbol table. The new strip only
takes less than 900MB memory.