Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immichβ€’3y agoβ€’
11 replies
ahbeng

Getting Javascript Heap out of Memory quite often since 1.52.0 and 1.52.1

HI all,
I've been getting this quite often in the Immich-Microservice container.
It's been happening quite often now after 1.52.0 and 1.52.1.

Especially on the Storage Migration jobs and now at the Generate Thumbnails jobs. I'm assuming its not fully migrated yet to the new folders, so I'll try to let it run more until I hope it'll completely migrated.

<--- Last few GCs --->
[1:0x7fb16cefc330] 793094 ms: Scavenge (reduce) 2038.1 (2076.2) -> 2037.5 (2076.5) MB, 21.1 / 0.0 ms (average mu = 0.352, current mu = 0.391) allocation failure
[1:0x7fb16cefc330] 794130 ms: Scavenge (reduce) 2038.3 (2076.5) -> 2037.7 (2076.5) MB, 39.0 / 0.0 ms (average mu = 0.352, current mu = 0.391) allocation failure
[1:0x7fb16cefc330] 795665 ms: Scavenge (reduce) 2038.5 (2076.5) -> 2038.0 (2076.7) MB, 66.7 / 0.1 ms (average mu = 0.352, current mu = 0.391) allocation failure
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

I recall something about allocating the heap for Node.js b4... can't remember how I set that up that param.
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

JavaScript heap out of memory
ImmichIImmich / help-desk-support
3y ago
Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
ImmichIImmich / help-desk-support
3y ago
Migration 1.52.0 to 1.66.1
ImmichIImmich / help-desk-support
3y ago
PostgresError: out of memory
ImmichIImmich / help-desk-support
3mo ago