Temporary Storage - Best Practices

Occasional Contributor

Hello everyone!

I have a question about the Temporary Storage of the Azure VMs.

How do I configure the swapping file correctly? Is it done correctly like this example:
I have a VM with 32 GB RAM and around 126GB Diskspace.

Should I choose system managed in that case or should I manually type in the maximum of the available storage (around 64GB)?

Thanks very much for your assistance!

2 Replies
best response confirmed by B_Gen (Occasional Contributor)





yes this is the way to do it.


Please upvote if it helps
Below are the steps included:
Connect to your Azure VM using Remote Desktop Protocol (RDP).

Open the Start menu and search for "Control Panel".

In the Control Panel, go to System and Security > System.

Click on "Advanced system settings" on the left side of the window.

In the System Properties window, click on the "Advanced" tab and then click on the "Settings" button under "Performance".

In the Performance Options window, click on the "Advanced" tab and then click on the "Change" button under "Virtual memory".

In the Virtual Memory window, you will see the current size of the paging file for each drive. You can adjust the size of the paging file by selecting the drive and entering a new size in the "Custom size" fields.

Once you have entered the new size for the paging file, click on the "Set" button and then click on the "OK" button to apply the changes.

Restart your VM for the changes to take effect.