[Bug 653582] New: ximagesrc: unbounded memory usage

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 28 12:02:37 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=653582
  GStreamer | gst-plugins-good | 0.10.25

           Summary: ximagesrc: unbounded memory usage
    Classification: Platform
           Product: GStreamer
           Version: 0.10.25
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: david.crepps at boeing.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When using the use-damage=false option with ximagesrc, I frequently see
rapidly-growing memory usage for that application.  It only appears when a
pipeline actually hands the raw video to an encoder, but it doesn't seem like
it is reproduced reliably every time.

I'm using the following launch call to demonstrate the error:

gst-launch ximagesrc use-damage=false ! queue ! ffmpegcolorspace ! ffenc_flv
bitrate=5000000 ! flvmux ! filesink location=/local/test.flv

I've definitely witnessed it on ffenc_flv, ffenc_mpeg4, and ffenc_h263p,
especially at higher bitrates.  Unfortunately, it doesn't always occur given
the same call, but if you play around with slightly different pipelines, it
eventually pops up.  I'm running on a RHEL 5.3 machine, running gstreamer
0.10.30 and ximagesrc 0.10.25, fwiw.

To see the symptoms, I've been running "top", and noticing the rapid growth of
memory usage in both the gst-launch process and the Xorg process.  Once it gets
to 100% memory usage, the machine gets hopelessly locked up and requires the
one-finger salute.

Thanks,
Dave

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list