Media Encoder consumed all memory/RAM and the exporting video progress failed
My computer specs

When I exported the videos, the progessfailed
Here are the logs
- Source File: G:\My Drive\Project\x4.prproj
- Output File: G:\My Drive\Final\2025-04-09 21h 14m 22s.mp4
- Preset Used: Custom
- Video: 3840x2160 (1.0), 30 fps, Rec. 709, 203 (75% HLG, 58% PQ), Hardware Encoding, Nvidia Codec, 00:42:25:17
- Audio: AAC, 320 kbps, 48 kHz, Stereo
- Bitrate: VBR, 1 pass, Target 60.00 Mbps
- Encoding Time: 00:29:34
04/15/2025 02:18:31 AM : Encoding Failed
------------------------------------------------------------
Frame substitution recursion attempt aborting after multiple attempts on file: G:\My Drive\Draft\2025-04-09 21h 34m 23s.mp4
Inserting black for frame number 23563
------------------------------------------------------------
An error was encountered while writing the output file. The output destination could not be found. Check that the output directory still exists. If the output directory is on a network or external device, check that the connection is active.
- Source File: G:\My Drive\Project\2025-04-08 17h 19m 17s.prproj
- Output File: G:\My Drive\Final\2025-04-08 17h 19m 17s.mp4
- Preset Used: Custom
- Video: 3840x2160 (1.0), 50 fps, Rec. 709, 203 (75% HLG, 58% PQ), Hardware Encoding, Nvidia Codec, 00:20:09:24
- Audio: AAC, 320 kbps, 48 kHz, Stereo
- Bitrate: VBR, 1 pass, Target 60.00 Mbps
- Encoding Time: 00:00:00
04/15/2025 02:18:32 AM : Encoding Failed
------------------------------------------------------------
An error was encountered while writing the output file. The output destination could not be found. Check that the output directory still exists. If the output directory is on a network or external device, check that the connection is active.I realized that Media Encoder consumed all memory/RAM and failed although I configed to set the maximum of RAM the Media Encoder app could use

Anyone countered same issue here? Any fix?
