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

Optimise memory usage #235

Open
bajtos opened this issue Oct 18, 2023 · 4 comments
Open

Optimise memory usage #235

bajtos opened this issue Oct 18, 2023 · 4 comments

Comments

@bajtos
Copy link
Member

bajtos commented Oct 18, 2023

We are running a Station Core instance on Fly.io. In the past, we observed out-of-memory errors when running with 512MB and 768MB available RAM. We solved this problem by bumping up the RAM size to 1GB.

If Station Core does indeed require at least 1GB of RAM, then running Station Desktop (which includes Station Core) on low-end consumer computers and Raspberry PIs will become unpleasant.

We should investigate our memory usage and reduce it to a more reasonable size.

@bajtos
Copy link
Member Author

bajtos commented Oct 18, 2023

@juliangruber
Copy link
Member

Shall we move this to the zinnia repo? I don't think there's anything we can do about this in the core repo (as zinnia is aiming to be the sandbox) 🤔

@bajtos
Copy link
Member Author

bajtos commented Oct 18, 2023

Well, we don't know yet where the bug is, right? It can be Zinnia or SPARK.

But I guess you are right, it's the responsibility of Zinnia to ensure modules are not using too much RAM.

@bajtos
Copy link
Member Author

bajtos commented Oct 18, 2023

OK, I opened two issues in Zinnia:

I want to keep this issue open until we land any required changes to Core, to make this discussion easily discoverable by Station Core operators.

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

No branches or pull requests

2 participants