Hi,
Compared to physical machines, there are no special requirements for page file setup for Hyper-V virtual machines. It depends on the system crash dump setting requirements and the peak usage of the system commit charge. A general recommendation for page file size is 1.5 times the RAM size.
You can refer to this guide below.