From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16169 invoked by alias); 19 Aug 2003 19:25:53 -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 16161 invoked from network); 19 Aug 2003 19:25:53 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 19 Aug 2003 19:25:53 -0000 Received: by zenia.home (Postfix, from userid 5433) id DF42F202C8; Tue, 19 Aug 2003 14:27:06 -0500 (EST) To: Michael Elizabeth Chastain Cc: drow@mvista.com, ac131313@redhat.com, ezannoni@redhat.com, gdb-patches@sources.redhat.com, msnyder@redhat.com Subject: Re: [rfa] save space by using enum bitfields References: <200308182235.h7IMZFB4008176@duracef.shout.net> From: Jim Blandy Date: Tue, 19 Aug 2003 19:25:00 -0000 In-Reply-To: <200308182235.h7IMZFB4008176@duracef.shout.net> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-08/txt/msg00323.txt.bz2 Okay, I'm sold. Looks good to commit to me. Michael Elizabeth Chastain writes: > 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.