Wednesday, July 23, 2014

How to avoid memory leak in Linux?

There are three ways to avoid them -

1. don't create memory leak (avoid while writing code), use free function when done with the memory.

2. use some static tool like coverty to detect memory leak and fix it.

3. use some dynamic tool ( run time) to detect memory leak eg. valgrind and fix it.


  1. It will harden as it dries, holding the pages together. Dad doesn't want
    an expensive gift, but he does want one that means something.
    But the second is a more thoughtful reason; a
    DIY gift illustrates to the recipient how much thought, time
    and effort you have put into their gift; therefore the gift means a lot more to them than a traditional gift purchased
    from a store.

    Here is my weblog - Valentine Gifts For Boyfriend

  2. What's up to every , for the reason that I am actually keen of reading this blog's post to be
    updated on a regular basis. It contains nice material.

    Also visit my homepage; hydrochloric acid and calcium hydroxide (

  3. Well It Was Very Nice Article It Is Very Useful For Linux Learners. We Are Also Providing Linux Online Courses Training. Our Linux Online Training Is One Of The Best Online Training Institute In The World.