Share via

I have a vm that i would like to increase the ram amount to 16gb. How do I do this?

Sunny Kumar 0 Reputation points
2026-04-08T11:28:13.83+00:00

VM DETAIL

Central India (Zone 1)

Windows Server 2022 Standard

Standard D8as v4 (8 vcpus, 32 GiB memory)

i don't want increase CPU just RAM from 32GB to 48GB or 64GB

Azure Virtual Machines
Azure Virtual Machines

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


3 answers

Sort by: Most helpful
  1. Ankit Yadav 13,135 Reputation points Microsoft External Staff Moderator
    2026-04-08T12:22:27.9566667+00:00

    Hey Sunny,

    Azure VMs come with fixed vCPU-to-RAM ratios, so you can’t just “add RAM” to your existing D8as_v4 size. To get 48 GB or 64 GB of memory (RAM) you’ll need to pick a different VM size in a memory-optimized family (for example the E-series):

     • E8as_v4 – 8 vCPUs, 64 GiB RAM  

    • Or if you only need ~48 GiB, you might look at another size that meets that ratio in E- or M-series (check available sizes in your region)   

    Here’s how to resize your VM:

     

    • Stop (deallocate) your VM -> In the Azure portal, open your VM and click Stop.  
    • Change the size-> In the VM’s Settings blade, select Size.     
    • Browse the list (or filter by “Memory optimized”) and pick a size that has the RAM you need.     
    • Click Resize.  
    • Start your VM again  

    That will keep your OS disk, network settings, etc., and simply switch you to a different SKU with more memory.

    References:

    0 comments No comments

  2. TP 155.2K Reputation points Volunteer Moderator
    2026-04-08T12:14:47.34+00:00

    Hi Sunny,

    You will need to resize your VM to a different size that best meets the memory / vCPU / price you are looking for. For example, Standard_E8as_v4 would provide 64GiB RAM with 8 vCPUs. The price increase for compute appears to be approximately 29% at standard Pay-As-You-Go rates.

    During the resize the VM will be deallocated so there will be some downtime. You need to make sure you have enough quota in Central India for Standard EASv4 Family vCPUs.

    To resize you would navigate to the VM in portal, click on Availability + scale -- Size on left, select the new size on right, then click Resize button at bottom.

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

    Thanks.

    -TP

    0 comments No comments

  3. Q&A Assist
    2026-04-08T11:28:30.1533333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The VM size Standard D8as v4 already has 32 GiB of memory and 8 vCPUs. In Azure, RAM and vCPUs are fixed per VM size; it isn’t possible to increase only RAM while keeping the same number of vCPUs on that size.

    To get 48 GB or 64 GB of RAM, the VM must be resized to a different SKU whose configuration matches the desired memory, which will also change vCPU count according to that SKU’s definition. If no available size in the same family/region offers 8 vCPUs with 48–64 GB RAM, a different VM series must be selected.

    General steps:

    1. Identify a VM size in the target region that provides the required RAM (for example, a memory-optimized series such as Easv4 or others) and check its vCPU/memory combination.
    2. In the Azure portal, stop (deallocate) the VM.
    3. Open the VM → Size → choose the new size that has the desired RAM → Apply.
    4. Start the VM again.

    Because VM sizes are predefined (for example, Easv4 sizes range from 16–672 GiB of memory with 2–96 vCPUs), there is no supported way to keep 8 vCPUs and arbitrarily set RAM to 48 GB or 64 GB outside of the combinations offered by Azure.


    References:

    0 comments No comments

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.