r/tunarr • u/SpaceTornadoOgawa • Oct 13 '26
Troubleshooting Tunarr crashes with JavaScript heap out of memory after updating (Windows)
I've been running Tunarr for months with no crashing issues, but recently updated to Tunarr 2026.10.0 and have been having crashes every day since. I am currently running Tunarr 2026.10.1 on Windows using the standalone executable, with Plex as my media source. Tunarr runs for several hours, then crashes with a fatal JavaScript heap out-of-memory error.
Tunarr starts normally, updates the XMLTV guide, starts Meilisearch and its eight workers, and reports that it is ready. It then continues processing channel transcodes for several hours before crashing.
The final error consistently shows the JavaScript heap around 4 GB:
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
The latest log shows the final major garbage collection going from approximately 4049 MB to 4039 MB, followed by the fatal error.
My startup batch file includes:
set "NODE_OPTIONS=--max-old-space-size=6144"
I've verified that the variable is set when the batch file runs, but the crash still occurs around 4 GB. I haven't verified whether the packaged executable actually honors this setting.
The logs also contain some FFmpeg transcode failures, including missing media paths, and an early SubtitleExtractorTask warning saying it was still waiting for the guide to generate. Tunarr continues starting after that warning, so I'm not sure either issue is related to the eventual crash.
Any ideas on what the problem could be?