Memory leak detection

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Memory leak detection

Loc Nguyen
Hi,

I was wondering what tools or internal APIs do any of you use to monitor
memory usage inside of pipeline elements?  Do you have any facility to
detect leaks?

-Loc

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Memory leak detection

Vineeth-2


On Thu, May 13, 2010 at 2:26 AM, Loc Nguyen <[hidden email]> wrote:
Hi,

I was wondering what tools or internal APIs do any of you use to monitor
memory usage inside of pipeline elements?  Do you have any facility to
detect leaks?

I am assuming you are on *nix :
1. Compile your program with debug symbols ( -ggdb option )
2. Running it with: valgrind --tool=memcheck --leak-check=full <program-with-args>


 

-Loc

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel