Re: improving psymtab generation memory usage

Jim Blandy
2001-07-19T09:48:00Z

Daniel Berlin <dan@cgsoftware.com> writes:
> > So what I'm saying is, we should be able to cut partial symbol table
> > generation memory usage to a minimum by adding one call to
> > obstack_free in scan_partial_symbols.
>
> Sure, for psymbols, this will work fine.
> For full symbols, it won't.
> I did the full symbol elimination first, then psymbols, so i just used
> the full symbol approach scaled down.

Sure, and that seems reasonable. I'm just checking my understanding
with someone who's been down the path before.

I'm going to make my change, simply because it's small, and will at
least help somewhat until we can do more.