From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13382 invoked by alias); 20 Apr 2012 14:40:56 -0000 Received: (qmail 13364 invoked by uid 22791); 20 Apr 2012 14:40:55 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 Apr 2012 14:40:33 +0000 From: "pluto at agmk dot net" To: gdb-prs@sourceware.org Subject: [Bug symtab/14002] New: big cpu/mem hog on large c++ applications. Date: Fri, 20 Apr 2012 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: pluto at agmk dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00038.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14002 Bug #: 14002 Summary: big cpu/mem hog on large c++ applications. Product: gdb Version: 7.4 Status: NEW Severity: critical Priority: P2 Component: symtab AssignedTo: unassigned@sourceware.org ReportedBy: pluto@agmk.net Classification: Unclassified hi, i have a large c++ application (2.9GB of shared objects, 600MB of static archives used in shared objects). on isolated part of sources a single 'next' call takes ~3 minutes and increases memory usage from ~500M to ~3G while previous gdb-7.3.1 needs only 2..3 seconds and increases memory usage from ~400M to ~550MB. 7bd518fd9738c50a5197af2b184acd97e4d4df40 is the first bad commit commit 7bd518fd9738c50a5197af2b184acd97e4d4df40 Author: Tom Tromey Date: Mon Jul 11 17:17:25 2011 +0000 * dwarf2read.c (handle_DW_AT_stmt_list): New function. (read_file_scope, read_type_unit_scope): Use it. link to gdb mailinglist discussion: http://sourceware.org/ml/gdb/2012-03/msg00096.html -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.