Merge pull request #131 from danieldobosi/patch-2

Update faq.rst
pull/132/head
Saijin-Naib 2022-01-05 11:13:01 -05:00 zatwierdzone przez GitHub
commit b7d33cae8c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -31,13 +31,13 @@ Nope, sorry!
*********
Memory issues
*********
Your computer is running out of memory, what can I do?
Your computer is running out of memory, what can you do?
-------------------------------------------------------------------------------------------
1. First you can buy more RAM, this is the ultimate and final solution.
2. Alternatively you can resize the images when uploading.
3. If using Windows and Docker, you can add a row in your .wslconfig file so that Docker will use a swapfile:
"swap=128GB"
"swapfile=C:\\temp\\wsl-swap.vhdx"
4. In Linux you can do the same, add a swap file or a partition.
In Both cases you will need preferably a fast SSD or an NVME drive, but it will be still slow.
2. Alternatively you can resize the images when uploading and/or tweak your quality settings.
3. If you are using Windows with Docker+WSL2, (https://docs.docker.com/desktop/windows/wsl/) you can add two rows in your .wslconfig file so that Docker will use a swapfile:
"swap=128GB" # you will need 128GB of disk space of course
"swapfile=C:\\temp\\wsl-swap.vhdx" # this is where the swap file will be stored
Full documentation: https://docs.microsoft.com/en-us/windows/wsl/wsl-config
4. In Linux you can do the same as 3. adding a swap file or a partition dedicated to swap. For more information, please consult your search engine of choice as there are a lot of different distributions and methods to add swap.
In both cases you will need preferably a fast SSD or an NVME drive, and the computing process will be still a LOT slower.