This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Huge memory leak in expression evaluation
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb at sourceware dot org
- Date: Fri, 01 Jun 2007 17:06:38 +0200
- Subject: Huge memory leak in expression evaluation
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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."