Large memory usage by gdb

Alex Lindsay <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
My OS is Ubuntu 17.04. Using both gdb 7.12 and 8.0, I experience large 
memory usage when debugging my executable. As I add breakpoints and run 
the executable multiple times in a single session, memory usage grows 
continuously, regularly hitting 10s of GBs. I don't recall experiencing 
this issue with earlier Ubuntu versions (and also likely earlier 
versions of gdb). When I debug the same executable with `lldb`, memory 
usage is pretty much constant at around 2 GB. Does anyone have any 
suggestions?

Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.