[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#923044: kodi fills up ram and swap before playing over http



Package: kodi
Version: 2:17.1+dfsg1-3
Severity: important

Dear Maintainer,

I'm running Kodi v17.1 on Debian Stretch and I've set it up to play
movies on a LAN NAS over HTTP (HTTPS to be more precise).

The issue is that when I try to play a large enough movie (say 1+ GB), I
get a long (sometimes endless) loading circle on Kodi and I see through
HTOP that it gradually fills up my RAM and then my SWAP almost to 100%
then it stops and ram/swap usage goes back to pre-playing levels before
it starts again sometimes several times.

Eventually, either the movie finally plays (after 5 min of loading) or
the loading stops as  if I hadn't asked Kodi to play anything.

I'm having a hard time figuring out why it's acting that way and
debugging logs don't show anything useful.

I've tried to add :

<cache>
<buffermode>3</buffermode>
</cache>

To my advancedsettings.xml file to disable the cache but to no avail.

Does anyone have any idea ?

Logs: https://paste.kodi.tv/utinumetuv.kodi
old logs: https://paste.kodi.tv/uzeqotuxov.kodi

Thanks.

NOTE: the same bug report has also been filed to
https://forum.kodi.tv/showthread.php?tid=341229

-- System Information:
Debian Release: 9.7
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kodi depends on:
ii  init-system-helpers  1.48
ii  kodi-bin             2:17.1+dfsg1-3
ii  kodi-data            2:17.1+dfsg1-3

Versions of packages kodi recommends:
pn  kodi-visualization-spectrum  <none>

kodi suggests no packages.

-- no debconf information


Reply to: