[gst-devel] Memory profiling and hunting memory leaks

Vincent Torri vtorri at univ-evry.fr
Sat May 15 10:37:32 CEST 2010



On Sat, 15 May 2010, 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
>
>  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).

mpatrol can help on windows.

Vincent Torri




More information about the gstreamer-devel mailing list