After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 551570 - plugin ximagesrc is memory leaking...
plugin ximagesrc is memory leaking...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.18
Other Linux
: Normal normal
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-09 20:51 UTC by Patrick Balleux
Modified: 2008-10-03 15:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Patrick Balleux 2008-09-09 20:51:05 UTC
When using ximagesrc to capture the desktop, the memory usage keeps increasing and is never released until the process is killed.

The rate is around 100kb/sec...


To reproduce:

> gst-launch ximagesrc endx=640 endy=480 ! ffmpegcolorspace ! ximagesink


Play a movie or something moving so there will be movement in the video screen and monitor with the System Monitor

My system: Ubuntu 8.04 AMD64 with GStreamer from the repositories of Ubuntu.
Comment 1 Wim Taymans 2008-10-03 15:54:06 UTC
        * sys/ximage/gstximagesrc.c: (gst_ximage_src_start),
        (gst_ximage_src_stop), (gst_ximage_src_ximage_get):
        Stop leaking the cursor image.
        Unref the last_ximage and the cached cursor image on shutdown.
        Fixes #551570.