VMware upgrade fails with "Cannot create a ramdisk"

When I try to upgrade a VMware host, the upgrade fails with "Cannot create a ramdisk of size 341MB to store the upgrade image. Check if the host has sufficient memory."
The host is a ProLiant DL360p Gen8.

The machine has 64 GB of RAM and all the guests are shut down.

This is what I have tried so far, based on Google:
  • Setting the host into maintenance mode
  • Rebooting the host
  • The ScratchConfig.ConfiguredScratchLocation is set to a local SSD, which has nearly 1 TB free.

What else can I try  please?
Karen JonesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
This can happen with a HPE OEM version of ESXi, because they've not left enough space on the partition for the upgrade.

if  move the scratch location to a datastore, this should solve the issue.
Murali SripadaVMware Engineer | vExpert 18/19Commented:
take ssh and run the command vdf -h and df -h commands and share the output please or verify if anything is showing 100 percent
Karen JonesAuthor Commented:
Based on what I found on another site, I booted the host off a DVD drive and then the upgrade ran through without any  issues.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
vmware vcenters

From novice to tech pro — start learning today.