How much increase in cost if i increase C drive and expand space of drive C in VM

Saira Munir 125 Reputation points
2026-11-19T04:38:21.8766667+00:00

Hi,

How much is it going to cost if i expand the C drive space ? We are facing memory shortage messages

Thanks,

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

2 answers

Sort by: Most helpful
  1. TP 165.7K Reputation points Volunteer Moderator
    2026-11-20T05:04:31.01+00:00

    Hi,

    What is the precise error you are receiving? You mentioned "memory shortage errors". Do you mean you are seeing out of disk space errors or similar and/or are you seeing out of virtual memory error or similar?

    Running out of disk space can cause memory errors, such as in the case where you are nearing the commit limit due to inability to increase paging file.

    In regards to cost increase, you can look up the cost of the size you want to expand to on the Azure Managed Disk pricing page. For example, say you want to increase the size to 256 GiB (S15 SKU) you would look at the chart for East US on pricing page to get base price of $11.33/month and max total price per month if you were to use max transactions ($120.83).

    Have you looked at files/directory on C drive to see what is using the most?

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    Was this answer helpful?


  2. AI answer

    2026-11-19T04:39:17.88+00:00

    The cost increase is the difference between your current and target managed-disk pricing tiers, but expanding C: will not resolve a shortage of physical memory (RAM).

    Calculate the cost increase

    For Standard HDD, Standard SSD, and Premium SSD, Azure generally bills according to the disk’s provisioned performance tier. If the larger capacity crosses into the next tier, billing changes to that tier; Standard disks can also have transaction charges. Premium SSD v2 instead charges per provisioned GiB, with additional charges when provisioned IOPS or throughput exceed the included baselines. ^1^

    To obtain the exact difference:

    1. In the Azure portal, open Virtual machines → your VM → Settings → Disks.
    2. Select the OS disk and record:
      • Disk type/SKU, such as Standard SSD or Premium SSD
      • Current size
      • Region
      • Redundancy, such as LRS or ZRS
      • Current performance tier, if shown
    3. Open Size + performance and note the intended new size and resulting tier, but do not select Resize yet.
    4. Enter the current and proposed disk configurations separately in the Azure Pricing Calculator, then subtract: Monthly increase = proposed disk estimate − current disk estimate

    Azure recommends the Pricing Calculator, your account price sheet, or the portal estimate for cost planning. Signing in to the calculator can include negotiated or discounted pricing, so the exact amount depends on your subscription and region. ^2^

    For example, changing a Standard SSD from one capacity tier to the next means paying for the new tier—not merely the amount of data currently stored. Changing a Premium SSD performance tier can also change billing even without increasing its capacity. ^3^

    Check what “memory shortage” means first

    Before resizing, inspect the exact Windows message:

    • “Low disk space,” “C: drive full,” or insufficient storage: expanding C: is appropriate.
    • “Low memory,” high memory usage, or insufficient virtual memory: this concerns RAM or the paging file. Increasing disk capacity alone does not add RAM. Azure describes memory pressure as demand exhausting physical RAM or virtual memory backed by the paging file; a memory-intensive workload may require a VM size with more memory. ^4^

    In Windows, open Task Manager → Performance:

    • Check Memory for sustained high RAM usage.
    • Check Disk 0 (C:) or File Explorer → This PC for low free disk capacity.

    Expand C: if disk capacity is the issue

    Schedule downtime because OS disks that do not meet online-expansion requirements must be deallocated.

    1. Back up the VM or OS disk before making the change.
    2. In the Azure portal, open Virtual machines → your VM and select Stop if required.
    3. Go to Settings → Disks.
    4. Select the OS disk.
    5. Select Settings → Size + performance.
    6. Choose a size larger than the current disk and select Resize.
    7. Return to the VM’s Overview page and select Start.
    8. RDP to Windows and open Disk Management.
    9. Right-click C: and select Extend Volume, then complete the wizard.

    Azure disk expansion is a two-stage operation: enlarge the managed disk in Azure, then extend the Windows volume so C: can use the newly allocated space. Existing disks cannot be shrunk afterward, so select the target size carefully. ^5^


    References

    1. Understand Azure Disk Storage billing
    2. Plan to manage Azure costs
    3. Performance tiers for Azure Premium SSD managed disks
    4. Troubleshoot high memory issues on Azure Windows virtual machines
    5. Expand virtual hard disks attached to a Windows virtual machine
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.