<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">thank you for the hint with the dot
output. There I could see that the max buffer property of the the app sink
has not been set correctly. After setting it correct all works fine.</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=41%><font size=1 face="sans-serif"><b>Marco Ballesio/</b></font>
<br>
<br><font size=1 face="Wingdings">(</font><font size=2 color=#000080 face="sans-serif">
</font>
<br><font size=1 face="sans-serif">Gesendet von: gstreamer-devel-bounces+steffen.roeber=hella.com@lists.freedesktop.org</font>
<p><font size=1 face="sans-serif">09.09.2011 15:08</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Bitte antworten an<br>
Discussion of the development of and with GStreamer
<gstreamer-devel@lists.freedesktop.org></font></div></table>
<br>
<td width=58%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">An</font></div>
<td><font size=1 face="sans-serif">Discussion of the development of and
with GStreamer <gstreamer-devel@lists.freedesktop.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Kopie</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Thema</font></div>
<td><font size=1 face="sans-serif">Re: pipeline memory consumption</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi,<br>
<br>
there may be many reasons for the increased memory size, some of which<br>
may even be fully legitimate depending on the system you're using and<br>
what you're playing. Indeed there's always room for bugs ;). Some<br>
questions below to help the community helping you ;).<br>
<br>
On Thu, Sep 8, 2011 at 8:22 AM, <Steffen.Roeber@hella.com>
wrote:<br>
><br>
> Hi,<br>
> I'using a filesrc, decodebin2, ffmpegcolorspace, capsfilter and appsink<br>
> pipeline which I use in pull mode. This means I pull the data of the
appsink<br>
> in a worker thread.<br>
<br>
See here:<br>
<br>
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html#gst-app-sink-pull-buffer<br>
<br>
Are you consuming buffers fast enough? Are you properly unreffing them<br>
when you're done?<br>
<br>
> I also set the 'max-size-bytes' property of the decodebin2 to
1000000 and the<br>
> gst_app_sink_set_max_buffers to 1. Anyhow after starting the pipeline,
the<br>
> memory consumption is rised up to more than 1gb, which decreases slowly<br>
> while playing.<br>
<br>
How are you measuring the memory allocated by the process? Might it be<br>
that your system has an outrageous quantity of memory and that size is<br>
used for filesystem caching?<br>
<br>
> If I delete the pipeline all memory is freed. Who does take this memory?<br>
<br>
You could be interested in dumping the pipeline topology on a dot<br>
file: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-DEBUG-BIN-TO-DOT-FILE:CAPS<br>
<br>
and verifying all the queues there are reasonably limited in length<br>
and size. It would also be interesting to know which decoders you're<br>
using and if any custom elements are used.<br>
<br>
I hope this will help.<br>
<br>
Regards<br>
<br>
><br>
> Regards<br>
><br>
> Hella Aglaia Mobile Vision GmbH<br>
> Steffen Roeber<br>
> Firmware & Tools<br>
> Treskowstr. 14, D-13089 Berlin<br>
> Amtsgericht Berlin-Charlottenburg HRB 66976 B<br>
> Geschäftsführer: Kay Talmi<br>
><br>
> Fon: +49 30 200 04 29– 412<br>
> Fax: +49 30 200 04 29– 109<br>
> Mail: Steffen.Roeber@hella.com<br>
> URL: www.aglaia-gmbh.de<br>
><br>
> URL: www.mobilevision.de<br>
><br>
> Dieses Dokument ist vertraulich zu behandeln. Die Weitergabe sowie<br>
> Vervielfältigung, Verwertung und Mitteilung seines Inhalts ist nur
mit<br>
> unserer ausdrücklichen Genehmigung gestattet. Alle Rechte vorbehalten,<br>
> insbesondere für den Fall der Schutzrechtsanmeldung.<br>
> This document has to be treated confidentially. Its contents are not
to be<br>
> pass ed on, duplicated, exploited or disclosed without our express<br>
> permission. All rights reserved, especially the right to apply for<br>
> protective rights.<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> gstreamer-devel@lists.freedesktop.org<br>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br>
><br>
><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
gstreamer-devel@lists.freedesktop.org<br>
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br>
</tt></font>
<br>