Describe the bug
Critical memory leak / OOM (Out of Memory) crash during the initial Trakt library synchronization. The container consumed all available host RAM (48 GB), leading to a kernel panic/OOM-kill of essential host processes (Unraid WebGUI/php-fpm). This occurred on the latest Unraid 7 release.
To Reproduce
- Install Riven using the
:dev tag.
- Configure a Trakt account with a large watchlist/collection (approx. 1100 items).
- Start the initial synchronization/scrape process.
- Monitor RAM usage: It spikes uncontrollably until system saturation.
Expected behavior
Memory usage should remain stable during metadata processing. Large imports should be batched or memory should be cleared using aggressive garbage collection to stay within reasonable limits (e.g., 2-4 GB).
Environment
- OS: Unraid 7.2.3 (Kernel:
6.12.54-Unraid)
- CPU: AMD Ryzen 5 PRO 4650G
- RAM: 48 GB DDR4
- Installation Type: Docker Compose
- Image:
spoked/riven:dev (Pulled Feb 15, 2026)
Riven Configuration (Environment Variables)
RIVEN_FILESYSTEM_CACHE_MAX_SIZE_MB=10240
RIVEN_FILESYSTEM_CHUNK_SIZE_MB=16
RIVEN_FILESYSTEM_FETCH_AHEAD_CHUNKS=10
Logs (Host OOM-Killer evidence from Unraid 7.2.3)
Feb 15 12:12:43 Tower php-fpm[14355]: [WARNING] [pool www] child 221973 exited on signal 9 (SIGKILL) after 12.973920 seconds from start
Feb 15 12:12:56 Tower php-fpm[14355]: [WARNING] [pool www] child 222249 exited on signal 9 (SIGKILL) after 12.992889 seconds from start
Feb 15 12:13:09 Tower php-fpm[14355]: [WARNING] [pool www] child 222258 exited on signal 9 (SIGKILL) after 13.290010 seconds from start
Describe the bug
Critical memory leak / OOM (Out of Memory) crash during the initial Trakt library synchronization. The container consumed all available host RAM (48 GB), leading to a kernel panic/OOM-kill of essential host processes (Unraid WebGUI/php-fpm). This occurred on the latest Unraid 7 release.
To Reproduce
:devtag.Expected behavior
Memory usage should remain stable during metadata processing. Large imports should be batched or memory should be cleared using aggressive garbage collection to stay within reasonable limits (e.g., 2-4 GB).
Environment
6.12.54-Unraid)spoked/riven:dev(Pulled Feb 15, 2026)Riven Configuration (Environment Variables)
RIVEN_FILESYSTEM_CACHE_MAX_SIZE_MB=10240RIVEN_FILESYSTEM_CHUNK_SIZE_MB=16RIVEN_FILESYSTEM_FETCH_AHEAD_CHUNKS=10Logs (Host OOM-Killer evidence from Unraid 7.2.3)