[vlc-devel] VLC and dbus

Peter Tap ptrtap at yahoo.com
Tue May 22 03:05:18 CEST 2012


Hi Mirsal,

Thank you for your help. I will try --disable-dbus-control and let you know what I find.

What I also found is that even after you quit vlc, the dbus daemon does not release the memory.

Regards,
Peter



----- Original Message -----
From: mirsal <mirsal at mirsal.fr>
To: vlc-devel at videolan.org
Cc: 
Sent: Monday, May 21, 2012 10:03 AM
Subject: Re: [vlc-devel] VLC and dbus

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 :)

Best,

-- 
mirsal 

_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel




More information about the vlc-devel mailing list