Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Elizabeth Chastain <mec@shout.net>
To: drow@mvista.com, jimb@redhat.com
Cc: ac131313@redhat.com, ezannoni@redhat.com,
	gdb-patches@sources.redhat.com, msnyder@redhat.com
Subject: Re: [rfa] save space by using enum bitfields
Date: Mon, 18 Aug 2003 22:35:00 -0000	[thread overview]
Message-ID: <200308182235.h7IMZFB4008176@duracef.shout.net> (raw)

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


             reply	other threads:[~2003-08-18 22:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-18 22:35 Michael Elizabeth Chastain [this message]
2003-08-19 19:25 ` Jim Blandy
  -- strict thread matches above, loose matches on Subject: below --
2003-08-19 19:42 Michael Elizabeth Chastain
2003-08-19 19:38 Michael Elizabeth Chastain
2003-08-19 21:57 ` Jim Blandy
2003-08-18 22:07 Michael Elizabeth Chastain
2003-08-18 23:02 ` Andrew Cagney
2003-08-18  7:00 Michael Elizabeth Chastain
2003-08-18 20:50 ` Michael Snyder
2003-08-18 20:56   ` Daniel Jacobowitz
2003-08-18 21:47     ` Jim Blandy
2003-08-18 21:50       ` David Carlton
2003-08-18 21:53       ` Daniel Jacobowitz
2003-08-18 21:06   ` David Carlton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200308182235.h7IMZFB4008176@duracef.shout.net \
    --to=mec@shout.net \
    --cc=ac131313@redhat.com \
    --cc=drow@mvista.com \
    --cc=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jimb@redhat.com \
    --cc=msnyder@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox