Re: [rfa] save space by using enum bitfields

Michael Elizabeth Chastain
2003-08-18T22:35:20Z

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