v21 Memory leak in Kodi 21 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: v21 Memory leak in Kodi 21 (/showthread.php?tid=379280) |
Memory leak in Kodi 21 - jools70 - 2024-10-27 Kodi 21 has a bug that manifests itself as a memory leak, which is seen after a day of uptime: multiple linesĀ of Quote:cma_alloc: linux,cma: alloc failed, req-size: 205 pages, ret: -16in dmesg. The immediate fix is to reboot the system, but the problem appears again after a day or two. The memory is actually not low on the system, and there is also cma-memory available. I'm on rpi5 debian 12 and using: Kodi Media Center 21.1 (21.1.0) Git:20240830-39fb0e3db7 Copyright © 2005-2021 Team Kodi - http://kodi.tv dmesg errors: https://pastebin.com/T7hSJbnB RE: Memory leak in Kodi 21 - sarbes - 2024-10-27 How have you determined that there is a memory leak? RE: Memory leak in Kodi 21 - jools70 - 2024-10-27 The error says that it fails to allocate memory. RE: Memory leak in Kodi 21 - izprtxqkft - 2024-10-27 looks more like a generic raspberry issue with multiple causes/resolutions when googled https://duckduckgo.com/?q=cma%3A+cma_alloc%3A+linux%2Ccma%3A+alloc+failed&ia=web try providing a Debug Log so we have context to the error RE: Memory leak in Kodi 21 - sarbes - 2024-10-27 (2024-10-27, 15:29)jools70 Wrote: The error says that it fails to allocate memory. That's no basis to attest a bug in Kodi. RE: Memory leak in Kodi 21 - jools70 - 2024-10-28 Yes it is. I can try to provide logs the next time it happens... RE: Memory leak in Kodi 21 - MatteN - 2024-10-28 You will probably not get any help without a log that shows the "error" since nobody else had the same problem. RE: Memory leak in Kodi 21 - Neo1973 - 2024-10-28 A memory leak caused by Kodi isn't impossible but very unlikely. I run Kodi on a RPi3B with a measly 1GB of memory and have no troubles to go multiple days without restarting the system. |