Problems Generating Thumbnails - ffmpeg exited with code 244 #15133
Replies: 7 comments 4 replies
-
Thanks for taking a look! |
Beta Was this translation helpful? Give feedback.
-
That file seems to be broken. Can you try opening it and see if it works locally? |
Beta Was this translation helpful? Give feedback.
-
I have exactly the same issue and error logs |
Beta Was this translation helpful? Give feedback.
-
Maybe the server ran out of memory? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I got distracted over the holidays. I’ll add some logs but this may be related to images “created” by Google Photos. I’ll add some logs / images shortly.
* Your server ran out of memory
Definitely not the case, maybe some sort of internal memory configuration/ limitation?
…________________________________
From: Mert ***@***.***>
Sent: Tuesday, January 7, 2025 9:15:13 AM
To: immich-app/immich ***@***.***>
Cc: Rob ***@***.***>; Author ***@***.***>
Subject: Re: [immich-app/immich] Problems Generating Thumbnails - ffmpeg exited with code 244 (Discussion #15133)
Error flushing encoder: Cannot allocate memory
Your server ran out of memory
—
Reply to this email directly, view it on GitHub<#15133 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACDYM2IUTR6SP3PXTHCBJT32JQDSDAVCNFSM6AAAAABUYEVB4WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZWGM2TSMA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
No, that’s not the case. The 4GB mentioned was simply stating I was using
4GB total of the 96 available.
…On Tue, Jan 7, 2025 at 11:18 bo0tzz ***@***.***> wrote:
for this LXC I'm using 4 GB RAM and have 96 GB total available.
This suggests to me that the LXC (and thus Immich) only gets to use 4GB
—
Reply to this email directly, view it on GitHub
<#15133 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDYM2POW64HLFQUAYSIZLD2JQSBNAVCNFSM6AAAAABUYEVB4WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZWGQ4DMMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am having the same error when trying to run the generate all thumbnails job. My system also have ample memory free and I set the job concurrency to the defaults to ensure I wasn't "overdoing" it. It tends to be the same thumbnail files that fail to generate each time, but the original photos from which they are generated from seem fine and can be opened in a photo viewer no problem. It might be obvious from the logs, but the thumbnail file is created as a completely empty file. I tried deleting it to get it to regenerate properly, but it just get's recreated as an empty file again. Not sure what else to try... Logs
|
Beta Was this translation helpful? Give feedback.
-
The bug
Similar to the below issue, some of my thumbnails aren't being generated and I'm not clear as to why.
Issue: #13915
Fix: #14134
Commit: https://github.com/immich-app/immich/tree/v1.122.0
The OS that Immich Server is running on
Debian 12
Version of Immich Server
v1.222.3
Version of Immich Mobile App
v1.222.3
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
No special steps, just some of the thumbnails are not generated, even when triggering the process manually.
Relevant log output
Additional information
I'm running on Proxmox, for this LXC I'm using 4 GB RAM and have 96 GB total available.
Beta Was this translation helpful? Give feedback.
All reactions