[gstreamer-bugs] [Bug 632447] New: reduce static memory allocated by the registry
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Oct 18 04:27:36 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=632447
GStreamer | gstreamer (core) | unspecified
Summary: reduce static memory allocated by the registry
Classification: Desktop
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ensonic at sonicpulse.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=172598)
View: https://bugzilla.gnome.org/attachment.cgi?id=172598
Review: https://bugzilla.gnome.org/review?bug=632447&attachment=172598
use g_intern_string for static caps
The registry objects statically allocate quite some memory. There are two big
consumers of memory:
1.) the registry-object instance (GstPluginFeature, ...)
2.) the strings (names, klasses, descriptions, ...)
On 2.) we already use g_intern_string for a few of them. 1.) could be solved in
0.11 by e.g considering GstMiniObject.
The attached patch uses g_intern_string also for static caps. This lowers the
allocated memory on my system from 1683kb to 1233kb.
--
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