How would you know the memory leak was the Crystal part?
https://github.com/iv-org/invidious/issues/1438
I’m not the first one facing these issues.
Oh is this why Invidious' setup documentation recommends restarting Invidious every hour or so?
Also, >300 MB of RAM usage (in docker. Some might be the system) with only 2 users after running for a while seems a bit too much