Hello,
Thank you for posting in Q&A forum.
To increase the memory allocation, please kindky follow below steps:
1.Stop the VM and resize the Hyper-V VM, go to VM Settings, Memory tab, and increase the amount of RAM allocated to the VM. Later restart the VM again to apply the changes.
2.Meanwhile you can check and disabe unnecessary service to optimize Memory Usage.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.