Hi Youc,
I understand that you need help with diagnosing and resolving the System.OutOfMemoryException on your Azure VM youcvmuat (AustraliaSouthEast):
- Guidance on installing and running Azure Performance Diagnostics (PerfInsights) for further analysis. You can run PerfInsights on a virtual machine by installing Azure Performance Diagnostics VM Extension. You can also run it as a standalone tool. Run PerfInsights in standalone mode: The detailed steps re given in the document https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/how-to-use-perfinsights#how-do-i-run-perfinsights
- Evaluation of memory usage on my VM to determine if a resize or optimization is required. For Windows VMs:
- Using Task Manager:
- Press
Ctrl + Shift + Esc
to open Task Manager. - Navigate to the Performance tab and select Memory to view usage statistics.
- Recommendations on alternative VM SKUs or configurations that may resolve memory issues. If your VM is part of an Availability Set, all VMs within the set must be deallocated before resizing to ensure the new size is supported by the underlying hardware cluster https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/virtual-machines-availability-set-supportability
- Direct migration of a VM to a different Availability Set is not supported. A request to resize a VM or add one to an existing availability set must be made at the original cluster that hosts the existing availability set. The cluster might not support the requested VM size or currently have sufficient capacity. Partial deallocation means that you stopped (deallocated) one or more, but not all, VMs in an availability set. When you deallocate a VM, the associated resources are released. Starting VMs in a partially deallocated availability set is the same as adding VMs to an existing availability set. Therefore, the allocation request must be made at the original cluster hosting the existing availability set that might not have sufficient capacity.
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/virtual-machines-availability-set-supportability https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/allocation-failure
Hope this helps!
Let me know for further queries!