Just stop Kodi and clone the /storage/.kodi folder to /storage/.kodi-old then update to LE13. It will reuse existing config and you can easily revert back by swapping the folder around again.
[RPi400] Memory leaks?
-
Bedford -
March 10, 2026 at 7:18 PM -
Thread is Unresolved
-
-
I've tried nightly-20260520-e3962e6 (RPi4.aarch64).
The issue persists. After approx. 1 day memory consumption is up to 100% and Kodi/LibreELEC restarts or is unresponsive.
Next, I would try to rebuild my databases.
Code
Display Morepan:~/.kodi/userdata/Database # ls -l total 282090 -rw-r--r-- 1 root root 3506176 Jun 14 21:50 Addons33.db drwxr-xr-x 2 root root 1024 Aug 30 2022 CDDB -rw-r--r-- 1 root root 53440512 May 15 19:36 MyMusic83.db -rw-r--r-- 1 root root 53440512 Jun 14 21:50 MyMusic84.db -rw-r--r-- 1 root root 9719808 Mar 25 2023 MyVideos119.db -rw-r--r-- 1 root root 17907712 Oct 1 2024 MyVideos121.db -rw-r--r-- 1 root root 26316800 May 20 21:06 MyVideos131.db -rw-r--r-- 1 root root 26222592 Jun 14 20:06 MyVideos145.db -rw-r--r-- 1 root root 139264 Mar 25 2023 TV38.db -rw-r--r-- 1 root root 167936 Sep 30 2024 TV40.db -rw-r--r-- 1 root root 479232 May 20 21:06 TV46.db -rw-r--r-- 1 root root 479232 Jun 14 10:18 TV48.db -rw-r--r-- 1 root root 48463872 May 20 21:08 Textures13.db -rw-r--r-- 1 root root 48463872 Jun 14 21:51 Textures14.db -rw-r--r-- 1 root root 102400 Apr 7 01:15 ViewModes6.dbWhy are there different (backup) version of the db's?
Can I savely delete MyMusic*, MyVideos*, and TV* and then rescan the library to rebuild the db-files? What about Textures and Viewmodes?
TIA,
Oliver
-
Stop Kodi, rename /storage/.kodi to /storage/.kodi-old and start Kodi again. You'll effectively have a clean install state. Copy back sources.xml and other config bits as needed. Or just delete the DB files and they'll be recreated.
-