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

[QUESTION] Memory consumption seems high #470

Closed
4 tasks done
DennisGaida opened this issue Feb 3, 2022 · 3 comments
Closed
4 tasks done

[QUESTION] Memory consumption seems high #470

DennisGaida opened this issue Feb 3, 2022 · 3 comments
Assignees
Labels
🤷‍♂️ Question [ISSUE] Further information is requested

Comments

@DennisGaida
Copy link

Environment

Self-Hosted (Docker)

Version

2.0.1

Describe the problem

Checking my docker stack, dashy is almost the highest consumer of RAM/memory with currently 255MB assigned to it. I'm just wondering whether this is "normal"? Dashy ultimately is a static HTML page being served and I believe that is a bit much RAM for a HTML page...

Am I missing some caching mechanism I haven't activated? I haven't restarted the container no, so maybe I'm experiencing a memory leak?

Additional info

No response

Please tick the boxes

@DennisGaida DennisGaida added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Feb 3, 2022
@Lissy93
Copy link
Owner

Lissy93 commented Feb 3, 2022

Heya @DennisGaida,
I think it's the Node server consuming memory, but it should only happen when the container rebuilds. Node.js is notoriously heavy, but there is a lite version planned (see roadmap).

In the meantime, you can serve up the static files yourself with NGINX or similar web server (here's an example: Dockerfile). Only downside is that the server-side endpoints (update config, status check, and proxy widget results) will not work, and you currently won't be able to modify config.

Going to close this as a duplicate, but if you've got a mem dump, or more info that shows there's a bug, or if the memory has massively spiked between versions, then this would be a bug, so feel free to reopen.

@Lissy93 Lissy93 closed this as completed Feb 3, 2022
@Lissy93 Lissy93 changed the title Memory consumption seems high [QUESTION] Memory consumption seems high Feb 3, 2022
@Lissy93 Lissy93 added 🤷‍♂️ Question [ISSUE] Further information is requested and removed 🐛 Bug [ISSUE] Ticket describing something that isn't working labels Feb 3, 2022
@DennisGaida
Copy link
Author

Thank you for answering this @Lissy93! I'm sure it is node, I just thought that maybe there was something to make it leaner.

Looking forward to the lite version - I'll keep running the current version w/o nginx since 250MB isn't too bad, but I was still wondering where all that memory goes.

@Hakker
Copy link

Hakker commented May 9, 2022

Well lite version should happen soon then because in recent versions it has been growing to roughly 465 MB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤷‍♂️ Question [ISSUE] Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants