linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: memory leakage detection tools
@ 2002-01-25 19:50 Koni
  0 siblings, 0 replies; 4+ messages in thread
From: Koni @ 2002-01-25 19:50 UTC (permalink / raw)
  To: mehul radheshyam choube; +Cc: kplug-newbie, linux-mm

You can also try "memprof" -- a gnome app I believe, for visualizing and
tracking memory leaks by using a mark-and-sweep garbage collector to
find allocated chunks that are not referenced anywhere, or something
like that. Worked very well for me on a few items. Sometimes its helpful
to link against debug builds of libraries though as I found sometimes
the stack traces would get messed up without the debugging symbols for
glibc and what not. Only problem with the memprof version I used (it was
a while ago) is I couldn't figure out how to set the command line
arguments for the process I wanted to profile.

Good luck!

Cheers,
Koni

Try "Bounds Checking", a GPL-ed (I believe) program.

 - Neil Fergusson


guy keren wrote:

[snip]

-- 
mhw6@cornell.edu
Koni (Mark Wright)
Solanaceae Genome Network	250 Emerson Hall - Cornell University
Strategic Forecasting		242 Langmuir Laboratory
Lightlink Internet		http://www.lightlink.com/

"If I'm right 90% of the time, why quibble about the other 3%?"

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: memory leakage detection tools
  2002-01-19 16:11 ` guy keren
@ 2002-01-25 19:34   ` Neil J. Fergusson
  0 siblings, 0 replies; 4+ messages in thread
From: Neil J. Fergusson @ 2002-01-25 19:34 UTC (permalink / raw)
  To: kplug-newbie
  Cc: kplug-lpsg, mehul radheshyam choube, linux-mm, plug-mail, plug-mail

Try "Bounds Checking", a GPL-ed (I believe) program.

  - Neil Fergusson


guy keren wrote:

> On 19 Jan 2002, mehul radheshyam choube wrote:
> 
> 
>>    i am writing c program which uses lot of pointer variables.
>>
> [...snip...]
> 
>>    but now i want to check whether there is any memory leakage.can
>>    anybody suggest me any free tool for this.
>>
> 
> i've conducted some "research" (you might call it) for development tools
> for linux (including malloc debugging libraries) for a lecture i carried
> in our local linux club - look at the slides:
> http://linuxclub.il.eu.org/newcomers/lectures/6/ide.html
> 
> and specifically under 'Debug libraries'.
> 
> hope this helps,
> --
> guy
> 
> "For world domination - press 1,
>  or dial 0, and please hold, for the creator." -- nob o. dy
> 


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: memory leakage detection tools
  2002-01-19 10:39 mehul radheshyam choube
@ 2002-01-19 16:11 ` guy keren
  2002-01-25 19:34   ` Neil J. Fergusson
  0 siblings, 1 reply; 4+ messages in thread
From: guy keren @ 2002-01-19 16:11 UTC (permalink / raw)
  To: kplug-lpsg, mehul radheshyam choube
  Cc: kplug-newbie, linux-mm, plug-mail, plug-mail

On 19 Jan 2002, mehul radheshyam choube wrote:

>     i am writing c program which uses lot of pointer variables.
[...snip...]
>     but now i want to check whether there is any memory leakage.can
>     anybody suggest me any free tool for this.

i've conducted some "research" (you might call it) for development tools
for linux (including malloc debugging libraries) for a lecture i carried
in our local linux club - look at the slides:
http://linuxclub.il.eu.org/newcomers/lectures/6/ide.html

and specifically under 'Debug libraries'.

hope this helps,
--
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* memory leakage detection tools
@ 2002-01-19 10:39 mehul radheshyam choube
  2002-01-19 16:11 ` guy keren
  0 siblings, 1 reply; 4+ messages in thread
From: mehul radheshyam choube @ 2002-01-19 10:39 UTC (permalink / raw)
  To: kplug-lpsg; +Cc: kplug-newbie, linux-mm, plug-mail, plug-mail

hi friends,

      i am writing c program which uses lot of pointer variables.for last two days it was giving core dump error.today i have rectified the problem now it is not giving core dump error.
     but now i want to check whether there is any memory leakage.can anybody suggest me any free tool for this.

mehul. 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-25 19:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-25 19:50 memory leakage detection tools Koni
  -- strict thread matches above, loose matches on Subject: below --
2002-01-19 10:39 mehul radheshyam choube
2002-01-19 16:11 ` guy keren
2002-01-25 19:34   ` Neil J. Fergusson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox