Description

This will only repro when connected to source control

Steps to Reproduce

1. Create ~1500 data assets between 2 KB and 1 MB each, most of them being 2 KB, one being 300 MB
2. Have Source Control enabled (in this case git, so that attempting to save will add the file)Inside UE4, initialize the project using git. It does not need to be connected to a hosted repository
3. Turn off auto save, as the process might require more than the default 10 minutes.
4. In the level toolbar under "Dialogue System", select "Force complete regeneration". This will attempt to generate a database asset that is about 300 MB large under "Content/ArticyContent/" and 1500 additional assets under "Content/ArticyContent/ExtensionData/".
This process takes a while, but should work in the end.
You will probably be prompted to save all assets at once. If so, do so, if not, just hit "Save all" to save all dirty assets.
5. Save all those assets
Result: An out of memory crash at some point during saving.
Expected: Assets save as expected and engine does not crash

Callstack
LogD3D12RHI: Error: CommandList->Close() failed 
 at D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/D3D12RHI/Private/D3D12CommandList.cpp:134 
 with error E_OUTOFMEMORY

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-100291 in the post.

9
Login to Vote

Cannot Reproduce
ComponentUE - Graphics Features
Affects Versions4.234.244.25
Target Fix5.0
CreatedSep 25, 2020
ResolvedAug 6, 2021
UpdatedSep 10, 2022
Pull Requests
9492 - SRombauts