From: Daniel Jacobowitz <drow@false.org>
To: Andreas Schwab <schwab@suse.de>
Cc: gdb@sourceware.org
Subject: Re: Huge memory leak in expression evaluation
Date: Fri, 01 Jun 2007 17:16:00 -0000 [thread overview]
Message-ID: <20070601171613.GB4992@them.org> (raw)
In-Reply-To: <jey7j3u329.fsf@sykes.suse.de>
On Fri, Jun 01, 2007 at 05:06:38PM +0200, 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
> 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.
Is this new, do you know? Otherwise, valgrind works fine on GDB
nowadays; we'll have to use it. I had gotten a base GDB session down
to no leaks at one point, though the patch was never committed because
of an ugly wart.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-06-01 17:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-01 15:06 Andreas Schwab
2007-06-01 17:16 ` Daniel Jacobowitz [this message]
2007-06-01 17:38 ` Andreas Schwab
2007-06-01 18:06 ` Andreas Schwab
2007-06-14 22:38 ` Aman Wardak
2007-06-15 12:58 ` Andreas Schwab
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=20070601171613.GB4992@them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=schwab@suse.de \
/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