You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I launch Umami, the service consumes all of the RAM on my machine (all 32 GB) and crashes due to insufficient memory. During my investigation, I discovered the cause of the problem.
In the src/lib/detect.ts module, there's code that loads GeoLite2-City.mmdb:
Describe the Bug
When I launch Umami, the service consumes all of the RAM on my machine (all 32 GB) and crashes due to insufficient memory. During my investigation, I discovered the cause of the problem.
In the src/lib/detect.ts module, there's code that loads GeoLite2-City.mmdb:
This code is executed a very large number of times during startup, which is why the RAM is exhausted.
I tried adding a debug line after the condition, and here's what I got:
I'm running the latest version in Docker: ghcr.io/umami-software/umami:postgresql-v2.15.1
P.S I already tried updating the maxmind library and it didn't solve the problem
Database
PostgreSQL
Relevant log output
Which Umami version are you using? (if relevant)
No response
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
docker
The text was updated successfully, but these errors were encountered: