Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Five Memory Debuggers for Linux coding

  • Please log in to reply
2 replies to this topic

#1 brainout


  • Members
  • 1,190 posts
  • Gender:Female
  • Location:Houston
  • Local time:03:25 PM

Posted 20 November 2015 - 09:58 AM

Article just in Computerworld today,  here.  This is high-powered stuff, but sooner or later someone's gonna need these tools.  Seemed like an article y'all would like to talk about. And I'll just smile and watch, heh.  :grinner:

(Away, Notifications Off) AUDIT PREMISES, my guidon.  -- brainout or brainouty on vimeo or Youtube, domain brainout.net

BC AdBot (Login to Remove)


#2 mremski


  • Members
  • 498 posts
  • Gender:Male
  • Location:NH
  • Local time:05:25 PM

Posted 22 November 2015 - 02:48 AM

Anyone that's written software for a living is aware of at least one of those tools, because they needed to use it to find their memory leak :)  C/C++ developers sometimes have issues with Java:  "I allocated memory here, where do I free it?  What, garabge collection?"  Correct design patterns in C++ make it easier to avoid the mistakes if they're followed.  One of the biggest ones in C++ is doing "new []" to allocate an array of objects, but then calling "delete" instead of "delete []" on it.


Another mistake that people make (usually twice) is forgetting about the scalar on pointers.  The first time you make this mistake it takes a while to figure it out.  The second time you figure it out quicker but you bang your head harder because "...how could I be so stupid...".  Haven't seen too many make it 3 times.

FreeBSD since 3.3, only time I touch Windows is to fix my wife's computer

#3 NickAu


    Bleepin' Fish Doctor

  • Moderator
  • 13,837 posts
  • Gender:Male
  • Location: Australia
  • Local time:08:25 AM

Posted 22 November 2015 - 03:16 AM


The second time you figure it out quicker but you bang your head harder because "...how could I be so stupid.

Yes, Don’t the penny make a lot of noise when it finally drops.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users