From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16712 invoked by alias); 14 Jun 2007 22:38:34 -0000 Received: (qmail 16702 invoked by uid 22791); 14 Jun 2007 22:38:34 -0000 X-Spam-Check-By: sourceware.org Received: from gateway-1237.mvista.com (HELO gateway-1237.mvista.com) (63.81.120.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Jun 2007 22:38:32 +0000 Received: from [10.0.10.219] (dhcp219.mvista.com [10.0.10.219]) by hermes.mvista.com (Postfix) with ESMTP id BEDF11D739; Thu, 14 Jun 2007 15:38:30 -0700 (PDT) Message-ID: <4671C3B7.7020309@mvista.com> Date: Thu, 14 Jun 2007 22:38:00 -0000 From: Aman Wardak User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Andreas Schwab Cc: gdb@sourceware.org Subject: Re: Huge memory leak in expression evaluation References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00117.txt.bz2 Andreas Schwab wrote: > There appears to be a huge memory leak in the expression evaluator. For > example when I set a conditional breakpoint on a frequently executed > line gdb quickly grows in the order of 500mb per second. When I make > Sorry, did you mean here 500mb or 500kb? I'm seeing 500kb/sec growth on a conditional breakpoint. Aman > the breakpoint unconditional, but add commands to call continue when the > condition is not satisfied I still see some big growth, but only in the > order of 100mb per second. The difference is probably because > breakpoint commands are executed much slower. > > Andreas. > >