[gst-devel] Memory profiling and hunting memory leaks

Edward Hervey bilboed at gmail.com
Sat May 15 10:01:08 CEST 2010


On Sat, 2010-05-15 at 09:44 +0200, Edward Hervey wrote:
> Hi,
> 
> On Fri, 2010-05-14 at 16:19 -0700, Loc Nguyen wrote:
> > Hey, I sent an email a few days ago but was never sent to the mailing 
> > list.  I'm trying to hunt down some memory leaks in gstreamer on 
> > Windows.  Can anyone advise on how core gstreamer devs are doing this?  
> > Any internal APIs that maybe useful for me to try?
> 
>   There isn't anything in the GStreamer API that would help you to
> *track* this down.
>   On Linux and MacOSX most of us use valgrind, here's how we use it :
>   http://live.gnome.org/Valgrind

  Here's another example of using valgrind more oriented towards
gstreamer-based applications:
  http://www.buzztard.org/index.php/Debugging

> 
>   If you have access to a Linux or MacOSX machine, you can try
> reproducing your use-cases there and use valgrind to find the leaks.
>   If you don't have access to such machines, or you have
> windows-specific plugins, then you'll have to look for a memory profiler
> for windows (don't know of any).
> 
>    Edward
>   
> 
> > 
> > -Loc
> > 
> > ------------------------------------------------------------------------------
> > 
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 






More information about the gstreamer-devel mailing list