Packaged game crashes after running for 2-3 days with D3D12 error E_OUTOFMEMORY

We have a packaged game that we plan on running continuously with the intent of restarting maybe once a week. The app runs for 2-3 days and then crashes with the same error every time. This was on 5.0. I haven’t had a chance to test with 5.1 so I will try to do that next and return to update this post. The package is a development build. I can always also try with a shipping build to see if that changes anything.

The end of the crash file:

[2022.10.27-03.35.07:516][256]LogD3D12RHI: Display: D3D12 CreateCommittedResource failed with params:
Heap Type: 2
Heap Flags: 4096
Resource Dimension: 1
Resource Width: 8388608
Resource Height: 1
Format: 0
Resource Flags: 0
[2022.10.27-03.35.07:516][256]LogD3D12RHI: Error: hr failed
at D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Resources.cpp:550
with error E_OUTOFMEMORY

[2022.10.27-03.37.07:544][256]LogOutputDevice: Warning:

Script Stack (0 frames):

[2022.10.27-03.37.07:544][256]LogWindows: Windows GetLastError: The operation completed successfully. (0)

I have the entire crash log file if needed.