Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #10091
| From | Miles Bader <miles@gnu.org> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Memory Leak Detection |
| Date | 2011-09-14 13:33 +0900 |
| Organization | NEC Electronics |
| Message-ID | <buo7h5bbv4j.fsf@dhlpc061.dev.necel.com> (permalink) |
| References | <7be371ee-c86c-4686-adbb-d0f3f716cde9@j1g2000yqn.googlegroups.com> <1073300f-64a0-4665-9e6e-a5000808b407@z7g2000vbp.googlegroups.com> |
"AnonMail2005@gmail.com" <anonmail2005@gmail.com> writes: > On Linux, I've used valgrind to track down memory leaks. It's very > good and it cost nothing. > > It is well worth the time investment (1/2 day) to learn how to use > it. After that, you will be pleasantly surprised at what it catches - > both large and small issues. Yes, valgrind is an insanely great tool. Not only is it super useful in tracking down the cause of bugs that manifest elsewhere, it allows one to be proactive and find many obscure subtle bugs that _haven't_ manifested elsewhere -- all without much user effort! [Running valgrind on a program for the first time can be a rude shock though, revealing tons of little bugs that you never noticed before!] -Miles -- Electricity, n. The cause of all natural phenomena not known to be caused by something else.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Memory Leak Detection Christopher <cpisz@austin.rr.com> - 2011-09-13 08:55 -0700
Re: Memory Leak Detection Noah Roberts <roberts.noah@gmail.com> - 2011-09-13 09:13 -0700
Re: Memory Leak Detection Paavo Helde <myfirstname@osa.pri.ee> - 2011-09-13 12:36 -0500
Re: Memory Leak Detection "AnonMail2005@gmail.com" <anonmail2005@gmail.com> - 2011-09-13 11:45 -0700
Re: Memory Leak Detection Miles Bader <miles@gnu.org> - 2011-09-14 13:33 +0900
Re: Memory Leak Detection Juha Nieminen <nospam@thanks.invalid> - 2011-09-14 06:06 +0000
Re: Memory Leak Detection Miles Bader <miles@gnu.org> - 2011-09-14 15:24 +0900
Re: Memory Leak Detection Ian Collins <ian-news@hotmail.com> - 2011-09-14 20:29 +1200
Re: Memory Leak Detection Marc <marc.glisse@gmail.com> - 2011-09-14 20:11 +0000
Re: Memory Leak Detection Goran <goran.pusic@gmail.com> - 2011-09-14 00:38 -0700
Re: Memory Leak Detection Christopher <cpisz@austin.rr.com> - 2011-09-14 08:22 -0700
Re: Memory Leak Detection Goran <goran.pusic@gmail.com> - 2011-09-15 01:09 -0700
Re: Memory Leak Detection Christopher <cpisz@austin.rr.com> - 2011-09-16 14:30 -0700
csiph-web