Help Center> Bare Metal Server> Private Image Creation Guide> Windows> Setting the Windows Virtual Memory
Updated on 2022-07-12 GMT+08:00

Setting the Windows Virtual Memory

You need to set virtual memory only for Windows Server 2012 R2 and Windows Server 2016.

BMS memory is large. Therefore, the automatically allocated virtual memory will take up a lot of system disk space. You are advised to disable the virtual memory or set an upper limit for it.

  1. Log in to the Windows VM.
  2. Click in the lower left corner, right-click This PC, and choose Properties from the shortcut menu.

    The System page is displayed.

  3. In the navigation pane on the left, choose Advanced system settings.

    The System Properties dialog box is displayed. By default, the Advanced tab is active.

  4. In the Performance area, click Settings.

    The Performance Options dialog box is displayed.

  5. Click the Advanced tab, and click Change in the Virtual memory area.

    The Virtual Memory dialog box is displayed.

    Figure 1 Virtual Memory dialog box
  6. Deselect Automatically manage paging file size for all drives.
  7. To disable the virtual memory, select No paging file. To set an upper limit for the virtual memory, select Custom size. You are advised to set the maximum virtual memory to less than 2 GB.
  8. Click Set, In the displayed dialog box, select Yes.
  9. Click OK.
  10. Restart the VM to complete the virtual memory settings.