[vlc-devel] VLC and dbus

mirsal mirsal at mirsal.fr
Mon May 21 19:03:51 CEST 2012

Hi Peter,

On Mon, 2012-05-21 at 09:47 -0700, Peter Tap wrote:
> Anytime we play a movie through VLC, the dbus daemon starts consuming more and more memory. We have 8G of RAM but hardly any memory is left after an hour of usage.

That is unfortunate, I'll try to reproduce that behavior and hopefully
come up with a fix.

> I could probably rebuild VLC with '--disable-dbus' '--disable-dbus-control' options. However, I am not sure if this is a good idea.
> I would appreciate any help in understanding why VLC interacts with dbus and if is it okay to build vlc with dbus disabled.

You can safely build VLC without the dbus control module (it is
optional, VLC just won't answer MPRIS calls nor send signals. It does
not matter unless you explicitly use dbus to communicate wih VLC or if
you use the single instance mode)

However the dbus control module is not the only one using dbus in VLC.
(ie: libnotify uses dbus as well, though it might be removed soon)

Try with --disable-dbus-control first. If it does not fix the memory
consumption problem, then it's probably libnotify.

If you do so, then please share your results :)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120521/4554018b/attachment.sig>

More information about the vlc-devel mailing list