This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]