Hello,<br><br><div class="gmail_quote">2012/2/22 mirsal <span dir="ltr"><<a href="mailto:mirsal@mirsal.fr">mirsal@mirsal.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, and thank you for your patches !<br>
<div class="im"><br>
On Wed, 2012-02-22 at 10:33 +0200, Casian Andrei wrote:<br>
> For each item that was appended or deleted, the ("Tracks", NULL) pair<br>
> was inserted (duplicated over and over) in the tracklist_properties<br>
> dictionary.<br>
<br>
</div>Actually, this is very unlikely to happen as the dbus main loop is woken<br>
up as soon as an event occurs, which means that events are processed one<br>
at a time in most cases.<br>
<div class="im"><br>
> The dictionary was inserting it in the same position and<br>
> it assumed it had hash collisions, triggering an expansion at every<br>
> insertion of that pair.<br>
<br>
</div>Yes, though it happens only if the same event is triggered more than<br>
three times during the same main loop iteration. (which should almost<br>
never be the case in practice)<br></blockquote></div><br>I was expecting that this would not happen too often, but, in my case, each time I added or deleted large number of files in the media library, the system's memory was consumed in about 2 seconds because of this (when dbus main loop woke up it had a large number of events to handle). VLC and the whole system quickly became unusable.<br>
<br>Best regards,<br>Casian<br>