This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: improving psymtab generation memory usage



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.


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