This article will cover the steps necessary to prepare an Azure VM running PVS to be able to capture a full memory dump
Additional Considerations:
Cache Disk - Disk space is required to handle the dedicateddumpfile.sys and memory.dmp, both will be the size of RAM.
Formula for disk space calculation:
Cache disk size requires 2x RAM + 512k (dedicateddump.sys & memory.dmp) + PageFile size + Redirected data footprint = Amount of cache disk required to capture a good memory dump
Note: redirected data includes, event logs, outlook files or any other data intentionally redirected here, you will need to consider this additional data when determining your calculations.
For Example: a VM w/ 8GB RAM + 2GB PageFile + 1GB Redirected event logs would need a cache drive that is at least 19.5GB w/ 16.5GB free space.
https://support.citrix.com/article/CTX322727/citrix-provisioning-services-full-system-memory-dump-from-any-windows-target-device
https://docs.microsoft.com/en-US/windows/client-management/generate-kernel-or-complete-crash-dump