Skip to content

VLC's memory consumption steadily increases after switching to next videos #63

@shlomif

Description

@shlomif

Hi!

If I enqueue the videos (*.webm, *.flv, *.mp4, etc.) in my collection and rapidly switch them which can be done by running vlc --intf qt --extraintf telnet --telnet-password foo foo.xspf and using this script with "PASSWORD=foo":

#!/usr/bin/perl

use strict;
use warnings;

use Time::HiRes qw(sleep);

use Net::Telnet;

my $t = Net::Telnet->new(Timeout => 10);

my $PASSWORD = $ENV{PASSWORD};

$t->open(Host => 'localhost', Port => 4212);

$t->waitfor('/Password:/');
$t->print("$PASSWORD\n");

while (1)
{
    $t->cmd("next\n");

    sleep(0.2);
}

=head1 COPYRIGHT & LICENSE

Copyright 2015 by Shlomi Fish

This program is distributed under the MIT (X11) License:
L<http://www.opensource.org/licenses/mit-license.php>

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

=cut

this is with the default vdpau interface of VLC, and while using Mageia Linux x86-64 v6. Anyway, after doing this the memory consumption of VLC rapidly climbs - even beyond 10% of my 8 GB of RAM (which is even more than Firefox takes). I tested this on JWM And on Plasma 5. It does not seem to happen with VLC's Xcb output.

Please look into fixing it and sorry to be the harbinger of bad news again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions