Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About memory usage #181

Open
hausen1012 opened this issue Feb 19, 2024 · 2 comments
Open

About memory usage #181

hausen1012 opened this issue Feb 19, 2024 · 2 comments

Comments

@hausen1012
Copy link

I really like Swingmusic because I think it's lightweight, but currently it seems to have a problem. When I don't play a song, it takes up over 100 MB of memory. When I play a song and frequently switch songs, it can take up over 400 MB. When I use Jellyfin, in conjunction with the fintunes app, no matter how I switch, it will not cause the memory usage to increase. Is this due to streaming?

@sortedcord
Copy link

I can't reproduce this. I have my installation running in a docker container. I have my installation running in a docker container. On idle, it takes about 200MB and it stays more or less the same when playing a song...

@cwilvx
Copy link
Member

cwilvx commented Feb 21, 2024

Hello @hausen1012

I acknowledge this issue and I have tried to figure out why that's happening but couldn't get much. I noted that on most API calls, the memory increases by a few kilobytes/MBs, but never goes back down once the requests are completed. It's weird but I can't tell why. It's not caused by streaming (I left a fresh instance streaming for ~8hrs and the memory wasn't dramatic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants