Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Huge memory leak in expression evaluation
@ 2007-06-01 15:06 Andreas Schwab
  2007-06-01 17:16 ` Daniel Jacobowitz
  2007-06-14 22:38 ` Aman Wardak
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Schwab @ 2007-06-01 15:06 UTC (permalink / raw)
  To: gdb

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."


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-06-15 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-01 15:06 Huge memory leak in expression evaluation Andreas Schwab
2007-06-01 17:16 ` Daniel Jacobowitz
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox