kopia lustrzana https://github.com/OpenDroneMap/docs
commit
b7d33cae8c
|
@ -31,13 +31,13 @@ Nope, sorry!
|
||||||
*********
|
*********
|
||||||
Memory issues
|
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.
|
1. First you can buy more RAM, this is the ultimate and final solution.
|
||||||
2. Alternatively you can resize the images when uploading.
|
2. Alternatively you can resize the images when uploading and/or tweak your quality settings.
|
||||||
3. If using Windows and Docker, you can add a row in your .wslconfig file so that Docker will use a swapfile:
|
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"
|
"swap=128GB" # you will need 128GB of disk space of course
|
||||||
"swapfile=C:\\temp\\wsl-swap.vhdx"
|
"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, add a swap file or a partition.
|
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, but it will be still slow.
|
In both cases you will need preferably a fast SSD or an NVME drive, and the computing process will be still a LOT slower.
|
||||||
|
|
Ładowanie…
Reference in New Issue