From: Fabian Cenedese <Cenedese@indel.ch>
To: gdb@sourceware.org
Subject: Memleaks?
Date: Mon, 30 Oct 2006 11:41:00 -0000 [thread overview]
Message-ID: <5.2.0.9.1.20061030123115.0185cec0@NT_SERVER> (raw)
Hi
I was using gdb compiled with cygwin for Windows (XP). I noticed that
the memory usage was continuously increasing. So I made a test:
I just repeatedly loaded a symbol file without doing other stuff. Some
times I'd just do "file" to clear the symbols. I looked with Process Explorer
at the memory usage. It seems as this memory is never completely
freed until gdb quits. But sometimes restarting gdb isn't an option
so this memory increase is a bit disturbing.
Is this a known problem? Am I seeing something else? Is there some
kind of flush command (couldn't find) or should "file" release all allocated
memory?
http://img172.imageshack.us/img172/4447/gdbmemleakib1.gif
gdb without a symbol file would use about 3.5MB but that fell off the scale.
I admit that I used not a state-of-the-art gdb, but I don't think that
this was changed recently. I'd be pleased if you can correct me.
GNU gdb 6.2.50_2004-10-14-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=powerpc-eabi".
Thanks
bye Fabi
next reply other threads:[~2006-10-30 11:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-30 11:41 Fabian Cenedese [this message]
2006-10-30 13:45 ` Memleaks? Daniel Jacobowitz
2006-10-30 15:06 ` Memleaks? Fabian Cenedese
2006-10-30 15:08 ` Memleaks? Daniel Jacobowitz
2006-10-30 16:02 ` Memleaks? Fabian Cenedese
2006-10-30 20:37 ` Memleaks? Michael Snyder
2006-10-31 7:27 ` Memleaks? Fabian Cenedese
2006-10-31 12:16 ` Memleaks? Christopher Faylor
2006-11-02 7:31 ` *SPAM*Re: Memleaks? Fabian Cenedese
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=5.2.0.9.1.20061030123115.0185cec0@NT_SERVER \
--to=cenedese@indel.ch \
--cc=gdb@sourceware.org \
/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