One or more of the following:
|
ESXi 7.0 and newer
ESXi host memory pressure occurs when the combined memory demands of virtual machines exceed the host's available physical memory capacity. This creates a resource contention scenario where ESXi must use memory management techniques. These techniques include ballooning, compression, and swapping to satisfy VM memory requests, potentially impacting virtual machine performance.
To collect the diagnostic data needed for VMware support to analyze your ESXi host memory consumption:
df -h
Note: Minimum 500 MB recommended for data collection.# Set capture parameters
capture_minutes=15
interval_seconds=2
datastore_path="/vmfs/volumes/<datastore_name>"
# Calculate total samples needed
samples_per_minute=$(expr 60 / ${interval_seconds})
total_samples=$(expr ${capture_minutes} \* ${samples_per_minute})
# Run ESXTOP batch capture
esxtop -ba -d ${interval_seconds} -n ${total_samples} > "${datastore_path}"/$(hostname)_$(date -u +"%Y-%m-%dT%H%M%S")_esxtop_batch_all.csv
For more information about ESXi memory management and performance troubleshooting, see the following resources:
Related memory troubleshooting scenarios