From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Blandy To: Daniel Berlin Cc: gdb@sources.redhat.com Subject: Re: improving psymtab generation memory usage Date: Thu, 19 Jul 2001 09:48:00 -0000 Message-id: References: <20010718225933.4186C5E9D8@zwingli.cygnus.com> <87ae21bhyg.fsf@cgsoftware.com> <87wv54apc5.fsf@cgsoftware.com> X-SW-Source: 2001-07/msg00280.html Daniel Berlin 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.