v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2018-01-26, 23:32)popcornmix Wrote: This is feeling a bit like the music database memory leak we had before in kodi (worked around with MALLOC_MMAP_THRESHOLD_).
It may not be an actual leak, but glibc's malloc heap can get fragmented with certain patterns of allocs/frees.

It feels a bit like the hevc update changed the sizes of some buffers that made things a little worse.
An updated glibc made things a lot worse.

Are you able to run with smaller settings of MALLOC_MMAP_THRESHOLD_ ?
Is LE currently using MALLOC_MMAP_THRESHOLD_=131072? (That is value kodi chose).

Can you try with, say, MALLOC_MMAP_THRESHOLD_=32768

I don't think we're setting this for arm:
https://github.com/LibreELEC/LibreELEC.t...ig#L56-L58

as this fragmentation issue first surfaced on 64-bit systems (PR for change: https://github.com/LibreELEC/LibreELEC.tv/pull/1286)

I'll run some tests with default, large and small values and let you know.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.


Messages In This Thread
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by Milhouse - 2018-01-26, 23:52
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24