[Bug 778611] New: OpenGL Major memory leak when shutting down pipeline.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 14 15:16:27 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=778611
Bug ID: 778611
Summary: OpenGL Major memory leak when shutting down pipeline.
Classification: Platform
Product: GStreamer
Version: 1.11.1
OS: Linux
Status: NEW
Severity: major
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: tom at duotecno.be
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 345737
--> https://bugzilla.gnome.org/attachment.cgi?id=345737&action=edit
Shows memory usage before opening a pipeline.
I have a working application.
In my application I always shutdown the pipeline and make a new pipeline for
every new video source.
For performance issues I reworked the original pipeline:
gst-launch-1.0
souphttpsrc location=<URL> is-live=true ! \
image/jpeg,framerate=25/1 !
jpegparse !
omxmjpegdec !
videoconvert !
videoscale add-borders=true !
video/x-raw,framerate=25/1,format=RGBx,width=800,height=480 !
autovideosink
to:
gst-launch-1.0 souphttpsrc location=<URL> is-live=true ! \
image/jpeg,framerate=25/1 ! \
jpegparse ! \
omxmjpegdec ! \
glupload ! \
glcolorconvert ! \
glcolorscale ! \
"video/x-raw(memory:GLMemory),framerate=25/1,width=800,height=480" ! \
videorate \
glimagesink
CPU is decreased a lot but there is a major memory leak.
After 10-20 times shutting down the pipeline and creating a new pipeline the
application crashed because of memory allocation problems.
I have replaced omxmjpegdec with jpegdec decoder and the problem is the same.
With the original pipeline the application has been running for days...
logging1.txt: Shows memory usage before opening a pipeline.
logging2.txt: Shows memory usage after several shutdown and creating new
pipelines.
logging3.txt: Shows error message that memory cannot be allocated anymore.
--
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