3 ms·
Invidious, a self-hosted YouTube front-end. is written in Crystal.
by 1vuio0pswjnm7 3y ago
Invidious, a self-hosted YouTube front-end. is written in Crystal.
- _lvbh 3y agoAnd its resource usage is depressing. Isn’t Crystal garbage collected? I’m not sure why it has memory leaks. 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
- ksec 3y agoHow would you know the memory leak was the Crystal part?
- _lvbh 3y agohttps://github.com/iv-org/invidious/issues/1438 https://github.com/iv-org/invidious/issues/1438 I’m not the first one facing these issues.
- xethos 3y agoOh is this why Invidious' setup documentation recommends restarting Invidious every hour or so?
- _lvbh 3y agoI ended up just throwing it 4 gigs of memory and it has pretty much been fine ever since. I do restart every few weeks when it reaches 1 GB though
- 1vuio0pswjnm7 3y ago(Not an Invidious user myself. I just looked at the source code a while back to see what they were doing. But I never tried compiling or using it.)