-
Notifications
You must be signed in to change notification settings - Fork 51
Low resource vm build this project #321
Copy link
Copy link
Closed
Description
Discussed in #316
Originally posted by nyacat May 1, 2023
as readme.md said
You might have problems compiling with a machine or docker container with low resources. It has been tested with docker containers with 6 CPUs, 7.5 GM of memory and 2GB of swap.
I managed to build this project using low resource vm.
vm specification
- 1 core of Intel Xeon Processor (Icelake)
- 1G of ram
- 25G of disk
- Debian 11
- no swap by default
The method is very simple, just add a 8g swapfile
Please note, if your vm comes with swap partition or swap file, please swapoff first.
# allocate a 8G file
fallocate -l 8G /swapfile
# mount as swap
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
once build done, remove the swap
swapoff /swapfile
rm /swapfile
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status