formatting cleanup

pull/150/head
Dan Joseph 2022-07-05 13:50:02 -04:00
rodzic e90869786a
commit bb4f7f275a
1 zmienionych plików z 20 dodań i 13 usunięć

Wyświetl plik

@ -25,19 +25,26 @@ Are there other licensing options aside from the AGPLv3?
Nope, sorry! Nope, sorry!
*************
`Learn to edit <https://github.com/opendronemap/docs#how-to-make-your-first-contribution>`_ and help improve `this page <https://github.com/OpenDroneMap/docs/blob/publish/source/faq.rst>`_!
*********
Memory issues Memory issues
********* *************
Your computer is running out of memory, what can you 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. 1. First you can buy more RAM, this is the ultimate and final solution.
2. Alternatively you can resize the images when uploading and/or tweak your quality settings. 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: 3. Configure a swapfile. In both Windows and Linux you will need preferably a fast SSD or an NVME drive, and the computing process will be still a LOT slower.
- 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. See also the full Microsoft documentation on `Advanced settings configuration in WSL <https://docs.microsoft.com/en-us/windows/wsl/wsl-config>`_.
.. code::
"swap=128GB" # you will need 128GB of disk space of course "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 "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 Linux you can add 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.
`Learn to edit <https://github.com/opendronemap/docs#how-to-make-your-first-contribution>`_ and help improve `this page <https://github.com/OpenDroneMap/docs/blob/publish/source/faq.rst>`_!