Need help?

How to increase virtual memory on Windows?

Virtual memory is a replacement for a physical RAM (random access memory) shortage. The operating system uses hard drive disk space instead of physical RAM.

In mining, virtual memory is required to substitute physical RAM when spikes of workload happen. For example, if your system has 8GB of RAM and you have 6x RX 580 4GB cards, you will be only able to use 2 of these cards. This depends on the algorithm, not all algorithms fall into this category.


In order to calculate how much virtual memory to set, you have to sum all of your GPUs VRAM. For example, if your rig has 6x GTX 1080 8GB, you need 48GB of virtual memory.


To increase virtual memory follow these steps:

  1. Open Control Panel.

  2. Select System (make sure to change View By to Small or Large icons)

  3. Select Advanced system settings.

  4. Navigate to the Advanced tab and select Settings under Performance.

  5. Navigate to the Advanced tab and select Change… under Virtual memory.

  6. Deselect Automatically manage paging file size for all drives checkbox.

  7. Select Custom size.

  8. Input initial size and maximum size. Calculate this value based on your rigs total GPUs VRAM (see above). Note that the speeds are in MB, not GB.

  9. Click Set and OKto save the changes.


WRITTEN BY
Marko Tarman
Marko is NiceHash's Mining Manager and Content Creator. He started mining back in 2012 before the first ASICs were released. He went from GPU mining BTC, LTC to VTC, and even DOGE. His mining motto: "I've got 99 problems, a bad riser is all of them"