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

If RAM is lower than 2GB, Install should suggest to create a swap space to avoid kill of crystal compiler #53

Closed
GauthierPLM opened this issue Feb 5, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@GauthierPLM
Copy link

Is your feature request related to a problem? Please describe.
If not enough RAM is available, Crystal compiler will be killed by the system when building Invidious.
The script already have an option to add swap space. A check at the beginning of the install process should warn the user that, if their machine have less than 2GB of RAM, adding a swap space is recommended.

The option could even be part of the install process and would call the swap creation on demand.

Describe alternatives you've considered
Currently, if the crystal compiler is killed, no message warn the user that not enough memory is available.
Therefore, the user should be aware of the issue and creating the swap space before doing the install.

This might confuse new comers or people not aware of the required RAM to build the project.

@tmiland tmiland added the enhancement New feature or request label Feb 5, 2021
tmiland added a commit that referenced this issue Feb 6, 2021
- Added advice to add swap if RAM is less than 2GB.

* Not compatible with SwapOnZRAM

Closing #53
@tmiland tmiland closed this as completed Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants