Stack memory issue with gstreamer

Nicolas Dufresne nicolas.dufresne at collabora.com
Thu May 1 11:28:25 PDT 2014


Le jeudi 01 mai 2014 à 10:28 -0700, jbvulai a écrit :
> I've been using gdb, in command-line and inside eclipse. No signs of growing
> number of threads whatsoever and nothing fishy i can smell from there.
> Theres always 5 : my application, pulseaudio, 2x gstreamer threads, glib.
> 

If I may ask an annoying question, when you say stack memory, did you
really mean stack memory, or you actually mean allocated memory ? If you
don't know the answer, would it be possible to tell how you measure
memory usage ?

For dynamic memory, you should consider using valgrind. The normal tool
(memcheck) will tell you what leaked (though take note GStreamer/GLib
leaks stuff voluntarily), and for run-time growth of memory usage, there
is massif memory profiler:

http://valgrind.org/docs/manual/ms-manual.html

cheers,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140501/21d65b04/attachment.sig>


More information about the gstreamer-devel mailing list