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

Re: [rfa] save space by using enum bitfields


Here is some more data on a larger dataset.

The target program is a specific gdb.exe file with
LD_LIBRARY_PATH set to /usr/lib/debug, so that I am getting
glibc-2.2.93-5-rh with debugging symbols turned on.

I use "gdb -readnow" to read all the symbols on startup.
That increases memory usage from 20 megabytes to 100 megabytes.

'ps axuww' says:

  old: 117280 k
  new: 108112 k

'maint space 1' says:

  old: 99352576
  new: 89997312

This is 8% to 10% savings here on a 100 megabyte process.

Michael C


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