This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: RFC: save lots of memory


> This patch changes gdb so that such names are not copied.  This saves a
> lot of memory.  For example, I ran OO.o writer and attached to it with
> gdb (I have full debug info installed for OO.o and all its
> dependencies).

As discussed on IRC, I looked at the patch, and I think it is pretty
nice. The downside for the other formats seems reasonably small and
we have the options suggested by Tom in case we need to reclaim
the extra memory being consumed with the current approach.

I'm looking forward to measuring the impact on memory and performance
with one of the bigger apps we have in house :-).

-- 
Joel


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