World Composition to World Partition; 5.2.0; E_OUTOFMEMORY

Ok. UE 5.2.0…

Converted my game from 4.26.2 to 5.2.0. Compiles with no error. Runs fine in PIE, Standalone and compiled.

Trying to convert my game from World Composition to World Partition. Use the defaults in the Editor tool with exception to “In Place” is checked.

I have 155 levels. Not sure this includes the persistent level. My world is an 8x8 which means there are 64 landscape levels and 91 streaming levels. It is a multiplayer game so all of the levels are “OnDemand” and I have my own level streamer making things work.

At issue is that after “a lot” of time, the conversion process seems to error out with the following:


[2023.05.28-13.15.52:816][ 0]LogTexture: Display: Building textures: /Game/Maps/Level1/Level1.Level1:PersistentLevel.LandscapeStreamingProxy_DA93WHKR7JBHNLKRCIH34R7JK_504_-1_-4_0.Heightmap_29 (BGRA8, 128x128 x1x1x1) (Required Memory Estimate: 0.562492 MB), EncodeSpeed: Final
[2023.05.28-13.15.52:821][ 0]LogTexture: Display: Building textures: /Game/Maps/Level1/Level1.Level1:PersistentLevel.LandscapeStreamingProxy_DA93WHKR7JBHNLKRCIH34R7JK_504_-1_-4_0.Heightmap_30 (BGRA8, 128x128 x1x1x1) (Required Memory Estimate: 0.562492 MB), EncodeSpeed: Final
[2023.05.28-13.15.52:825][ 0]LogTexture: Display: Building textures: /Game/Maps/Level1/Level1.Level1:PersistentLevel.LandscapeStreamingProxy_DA93WHKR7JBHNLKRCIH34R7JK_504_-1_-4_0.Heightmap_31 (BGRA8, 128x128 x1x1x1) (Required Memory Estimate: 0.562492 MB), EncodeSpeed: Final
[2023.05.28-13.15.52:852][ 0]LogD3D12RHI: Display: D3D12 CreateCommittedResource failed with params:
Heap Type: 2
Heap Flags: 4096
Resource Dimension: 1
Resource Width: 4194304
Resource Height: 1
Format: 0
Resource Flags: 0
[2023.05.28-13.15.52:852][ 0]LogD3D12RHI: Error: hr failed
at D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Resources.cpp:312
with error E_OUTOFMEMORY

[2023.05.28-13.55.35:661][ 0]LogDerivedDataCache: C:/Users/mjkni/AppData/Local/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:03:49.988 and deleted 0 files with total size 0 MiB and 0 empty folders. Scanned 130335 files in 104879 folders with total size 20078 MiB.
[2023.05.28-14.55.35:635][ 0]LogDerivedDataCache: C:/Users/mjkni/AppData/Local/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:03:49.961 and deleted 0 files with total size 0 MiB and 0 empty folders. Scanned 130335 files in 104879 folders with total size 20078 MiB.


I tried closing all other programs… …didn’t help.

Is there a manual process that I can follow to maybe “free” up memory such that the conversion can complete without errors?

In the video they mention you should have 64 gigs of memory to do the conversion. Do you have that much? During the vid you can clearly see the conversion eating up over 48 gigs at some points.

1 Like

Good video. Thanks for sharing!

Trying it from the command line. I assume I will have the same issue for I only have 32G of actual RAM. Ryzen 7 instead of Ryzen 9… …my CPU is max’ed out running the script unlike the video…

…any way to break up the script any to possibly reduce the RAM requirement (or) start shopping at Newegg???

Try

Got this error message. I have a Ryzen 7 5700G. Will try the lower the resolution suggestion…

It is the video card… …so… …AMD 5700 XT with 4GB of dedicated RAM and 16GB of shared RAM to make 20GB of video RAM is not enough!

The computer RAM of 32 GB is on the edge. I thought it went 100% for a short time; however, backed off to 28GB.

Hummmm…