vMotion migration fails during the memory precopy phase with one or more of the following errors in the vmkernel.log or vmware.log:
The dvfilterVMotion heap is used to allocate space for temporary data when transferring the Distributed Firewall (DFW) state during migration. If the DFW state is large (due to many rules or complex configurations), the default maximum heap size (~512MB) may be exhausted, causing the vMotion to fail.
Choose one of the following methods to resolve the issue:
Method 1: Immediate Workaround (No Reboot Required) This method allows for the migration of the VM so the host can be placed into maintenance mode:
Method 2: Permanent Fix (Requires Host Reboot) Increase the maximum heap size for the dvfilter module.
esxcfg-module -s DVFILTER_HEAP_MAX_SIZE=536875432 dvfiltervsish: get /system/heaps/dvfilterVMotion-####/statsTo check current heap usage without a reboot:
get stats/system/heaps/dvfilterVMotion-0x43144da00000/> get statsHeap stats { Name:dvfilterVMotion owning module id:0... current heap size:111016... maximum heap size:536875432