Replies: 4 comments 4 replies
-
I don't know if there's anything we can do to make |
Beta Was this translation helpful? Give feedback.
-
This seems a bit off, since 10k assets should not be using anywhere near the memory limit of your system. Can you provide some details about the hardware and operating system/setup you are using to run immich? |
Beta Was this translation helpful? Give feedback.
-
I am happy to provide more information if needed |
Beta Was this translation helpful? Give feedback.
-
This might be a case of #9062. To double check: you are seeing this issue with |
Beta Was this translation helpful? Give feedback.
-
The bug
api/asset?skip=10000&take=10000&updatedBefore=2024-05-03T07%3A53%3A04.610024Z&userId=xxxx
Crashes my server,
if i run api call with take 5000 my server does not crash
api/asset?skip=10000&take=5000&updatedBefore=2024-05-03T07%3A53%3A04.610024Z&userId=xxxx
It seems to me like JSON.stringify is running out of memory when stringifying too many objects.
More info from other places i have posted this issue:
Im getting this error that crashes immich_server when building the timeline.
Server crashes before reaching 4.3 gb of ram, when i added
- NODE_OPTIONS="--max-old-space-size=24000"
it now reaches 8gb on my 64gb system.With the env variable i got this error:
This is only for 18k photos for this user, total 30k, 64gb allocated.
Help much appreciated.
The OS that Immich Server is running on
Ubuntu 22.10
Version of Immich Server
latest
Version of Immich Mobile App
latest
Platform with the issue
Your docker-compose.yml content
Can post if really needed
Your .env content
Reproduction steps
1. upload 15k assets on web 2. try to build timeline on ios/android 3. or call api `api/asset?skip=10000&take=10000&updatedBefore=2024-05-03T07%3A53%3A04.610024Z&userId=xxxx` ...
Relevant log output
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions