-
Notifications
You must be signed in to change notification settings - Fork 2
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
Usability: Warn about too little memory in podman/docker virtual machine #88
Comments
ping @Akendo (I think you mentioned this as an issue) |
we could read available memory from
|
With regards to the threshold value for the warning message: |
From a UX perspective I don't think so. I think it's good we set explicit limits and reduce memory usage where possible (thanks for that @nkraetzschmar), but if the build runs out of memory, the failure will still be non-obvious. I don't know how easy we could implement a lower-bounds check for memory in the builder (might not be trivial or possible due to linux namespaces), but I'd prefer to keep this issue open until further investigation to decide if we can/want to improve this or not. |
What would you like to be added:
Warn the user about probably too small memory capacity.
Why is this needed:
For everyone using the builder not on a native linux machine, one needs a virtual machine (or a remote host) to run linux containers via podman or docker.
Both podman and docker have solutions for this that take care of setting up a vm on the user's behalf.
The issue is that the default amount of memory they allocate is probably too small to build Garden Linux.
To the user, this will make the build fail in non-obvious ways.
Questions:
The text was updated successfully, but these errors were encountered: