Replies: 7 comments
-
|
Hmm, I checked with docker stats and it doesn't seem to inflate. I wonder if there is something different with docker vs podman here 🤔 |
Beta Was this translation helpful? Give feedback.
-
|
It's relatively normal for a process to hold onto some RAM it no longer needs, but once the system asks for it back it should release it. Does it still stay at that usage even if you run something else that needs that RAM? |
Beta Was this translation helpful? Give feedback.
-
|
Interesting point I've not thought about that. I get some more pictures on
my end, let immich scan more and watch what happens.
…On Sun., Feb. 2, 2025, 5:11 a.m. bo0tzz, ***@***.***> wrote:
It's relatively normal for a process to hold onto some RAM it no longer
needs, but once the system asks for it back it should release it. Does it
still stay at that usage even if you run something else that needs that RAM?
—
Reply to this email directly, view it on GitHub
<#15845 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKGVB3P5BZUGFW2NV4JAKT2NXVNLAVCNFSM6AAAAABWKA774GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRZGMZDSMZVGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
It is probobly using RAM for caching, normal thing on linux, but maby Im wrong. |
Beta Was this translation helpful? Give feedback.
-
|
Do you have RAW or very high megapixel images? It might be mmap'ing the images during thumbnail generation, which can mean that images are held in memory even after the thumbnails are generated, if not cleaned up properly. If this is what is happening, the memory should get freed when the server is low on RAM and occupy disk space instead. |
Beta Was this translation helpful? Give feedback.
-
|
I see the same, Immich is taking up 50% of my RAM while not doing anything at all. Very odd. |
Beta Was this translation helpful? Give feedback.
-
|
I am not sure if this is the right avenue to be contributing instead of making a new issue itself, but I had this same issue. It primarily came from my phone rechecking what images were synced already, I guess maybe from the metadata. I am not entirely sure. I restarted the container and it is back to normal. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The bug
I did a scan for my external library (around 10K files including RAW) and waited for the jobs to complete. Thumbnails, faces, and places looked fine. The only thing I noticed was it was using 7GB of ram while sitting idle since then. I restarted the container, and mem usage was not that high. Wonder if this could be a memory leak.
After restart:
FYI, this is cockpit dashboard.
htoptells the same data.The OS that Immich Server is running on
Ubuntu 24.04
Version of Immich Server
v1.125.7
Version of Immich Mobile App
NA
Platform with the issue
Your docker-compose.yml content
Identical to https://github.com/immich-app/immich/blob/v1.125.7/docker/docker-compose.yml with external library and
userns_mode: "keep-id"Your .env content
Identical to https://github.com/immich-app/immich/blob/v1.125.7/docker/example.env
Reproduction steps
podman-compose up -d...
Relevant log output
Additional information
The only thing different from the default config was I ticked "Prefer embedded preview".
Beta Was this translation helpful? Give feedback.
All reactions