From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16466 invoked by alias); 18 Aug 2003 22:35:20 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16452 invoked from network); 18 Aug 2003 22:35:19 -0000 Received: from unknown (HELO concert.shout.net) (204.253.184.25) by sources.redhat.com with SMTP; 18 Aug 2003 22:35:19 -0000 Received: from duracef.shout.net (duracef.shout.net [204.253.184.12]) by concert.shout.net (8.12.9/8.12.9) with ESMTP id h7IMZGo5023580; Mon, 18 Aug 2003 17:35:16 -0500 Received: from duracef.shout.net (localhost [127.0.0.1]) by duracef.shout.net (8.12.9/8.12.9) with ESMTP id h7IMZFHK008177; Mon, 18 Aug 2003 17:35:15 -0500 Received: (from mec@localhost) by duracef.shout.net (8.12.9/8.12.9/Submit) id h7IMZFB4008176; Mon, 18 Aug 2003 18:35:15 -0400 Date: Mon, 18 Aug 2003 22:35:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200308182235.h7IMZFB4008176@duracef.shout.net> To: drow@mvista.com, jimb@redhat.com Subject: Re: [rfa] save space by using enum bitfields Cc: ac131313@redhat.com, ezannoni@redhat.com, gdb-patches@sources.redhat.com, msnyder@redhat.com X-SW-Source: 2003-08/txt/msg00316.txt.bz2 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