UE5.1 Crashes from paging file being too small for the operation to complete, yet the page file is large enough

HLOD build fail - i had very similar issue

Description:
While buildning default landscape 2km x 2km map with only a few of my actors added
in log appeared error “Ran out of memory allocating bytes with alignment 1. Last error msg: The paging file is too small for this operation to complete.”
(checking the logs at (the project name)\Saved\Logs).

Solution:
It turned out that HLOD build required up to 50GB ! of temporary disk space (via windows page file; note: the temporary space is then released after the build is done).
The C: partition did not have that much space left so I moved page file to D: partition (see the procedure below).

Windows 10 page file settings:

  • r.clk on Start
  • System
  • Advanced system settings (link on the right - “System properties” dialog appears )
  • Performance | Settings… (button)
  • Advanced (tab)
  • Virtual memory | Change…

Win10VirtualMemory

3 Likes