# Memory leak after patch "rel\_Patch1.1.2x\_external"

**URL:** <https://forums.fatsharkgames.com/t/memory-leak-after-patch-rel-patch1-1-2x-external/83170>\
**Category:** Technical Support\
**Tags:** acknowledged\
**Created:** [October 2, 2023, 10:48pm UTC](https://forums.fatsharkgames.com/t/memory-leak-after-patch-rel-patch1-1-2x-external/83170 "2023-10-02T22:48:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Turra](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Turra](https://forums.fatsharkgames.com/u/Turra)\
**Post date:** [October 2, 2023, 10:48pm UTC](https://forums.fatsharkgames.com/t/memory-leak-after-patch-rel-patch1-1-2x-external/83170/1 "2023-10-02T22:48:42Z")

</div>

**Issue Description:**  
I’ve never had any issues with my 16GB 3600Mhz RAM before, but after the last patch i suddenly get “Out of Memory” after just a few games.

**Error Displayed (If Applicable):**

```auto
21:58:28.999 <<Crash>>HRESULT: 2147942414 = E_OUTOFMEMORY
[...]
20:14:29.381 [Application] STARTUP: setup_crash_report, File: D:\a\d\rel_engine_darktide\release\rel_2023_06_22_Patch1.1.2x\runtime\application\application.cpp, Line: 3604
[...]
<<Error Context>>
render target	#ID[6463c15f2b38c8ea]
D3D12_RESOURCE_DESC	{
	Dimension: 3,
	Alignment: 0,
	Width: 5120,
	Height: 1440,
	DepthOrArraySize: 1,
	MipLevels: 1,
	Format: 9,
	SampleDesc: 1, 0,
	Layout: 0,
	Flags: 5,
}
<</Error Context>>

```

And then we have the reported memory usage.

```auto
Memory    
	Total: 16298 MB    
	Available:	10484 MB    
	Used: 5813 MB    
	Peak Used: 6668 MB    
Debug Memory    
	Total: 0 MB    
	Available:	0 MB    
	Used: 0 MB    
	Peak: 0 MB    
Page File Memory    
	Total: 30530 MB    
	Used: 13889 MB    
	Peak: 13949 MB    
[...]    
Process Memory:    
        PrivateUsage: 14 222 884 K    
        Peak Working Set Size: 6 828 352 K    
        Working Set Size: 5 969 444 K    
        Peak Page file Usage: 14 284 168 K    
[...]
Physical Total: 16298MB
           Available: 9531MB

```

Darktide is gobbling up UpTo 14.28 Gb of my RAM? Or am i misstaken?

**Steps to Reproduce:**  
Just play the game a few matches in a row.

**Mission Name (If Applicable):**  
Irrelevant.

**Platform:**  
[Steam/PC]

**Player ID:**  
[76561198005085980/[Steam Profile URL](https://steamcommunity.com/profiles/76561198005085980/)/Oxonium ¨,'.¨]

**Approx. Time of Issue & Timezone:**  
[between 02/10/2023 23:30 & 03/10/2023 00:30] [CET]

**Reproduction Rate:**  
Common (\<50%)

* * *

**Upload Supporting Evidence:**  
[Screenshots, recordings, links to Twitch VODs, etc.]

In Game:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/fatshark/original/3X/f/a/fa1802c137bedcc0e09fdd23bfd389702cce9a19.png)

In Mourningstar:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/fatshark/original/3X/6/3/6321f28ecdc0bc7ffb4928b61a30be5e7a53b22d.png)

**[PC] Paste Crash Report, or Upload Console Log & darktide\_launcher.log:**  
[Instructions: [How To Provide a Crash Report, Console Log, or darktide\_launcher.log](https://forums.fatsharkgames.com/t/how-to-provide-a-crash-report-console-log-or-darktide-launcher-log/55163)]

[crash\_dump-2023-10-02-20.14.29-afa956e7-420a-4f32-8430-811becdf98c3.dmp](https://forums.fatsharkgames.com/uploads/short-url/d31M92xkUz9sOM8Fxk6i9SUwgag.dmp) (1.2 MB)  
[crash\_dump-2023-10-02-19.15.05-e1beac08-0579-45f4-85ec-02bf1f5b8dba.dmp](https://forums.fatsharkgames.com/uploads/short-url/eBUFmx8ldoivTyOSSInGrUEz8bs.dmp) (1.2 MB)  
[console-2023-10-02-19.15.05-e1beac08-0579-45f4-85ec-02bf1f5b8dba.log](https://forums.fatsharkgames.com/uploads/short-url/1k9r9HIet71SYcOMt75qMtWGSbr.log) (142.2 KB)  
[console-2023-10-02-20.14.29-afa956e7-420a-4f32-8430-811becdf98c3.log](https://forums.fatsharkgames.com/uploads/short-url/tQB1yWXQR3wT199pa8S9RRZDSy.log) (654.8 KB)  
[console-2023-10-02-21.59.24-e7f7a2e2-365c-46b2-baf2-9af20272910e.log](https://forums.fatsharkgames.com/uploads/short-url/6MxMJek2fV7q10s3lPX5G19pd4b.log) (133.1 KB)  
[darktide\_launcher.log](https://forums.fatsharkgames.com/uploads/short-url/9LuhIKQGd8pttfcIqU0Tz8Wzcbw.log) (716.6 KB)

NOTE!!!  
When looking at these console.log files and comparing them to older console.log files i found this text inside of it, that is VERY interesting and perhaps can explain this whole ordeal?

> “warning: [DDGIVolume] memory leak in ddgi volume, this is a reminder for fixing this!”

Hmmm… Looks suspicious…  
I mean… this text appears in my console.log files all the way back to July?  
Are memory leaks supposed to go unfixed for 4 months?  
[console-2023-07-23-19.36.29-e05b554a-554a-4e3e-93e2-e516882ba97b.log](https://forums.fatsharkgames.com/uploads/short-url/45gawKOHhnSfg76bghzeqoBKDSQ.log) (455.8 KB)

---

<div class="post-metadata">

**Author:** ![FatsharkJulia](https://dub1.discourse-cdn.com/flex013/user_avatar/forums.fatsharkgames.com/fatsharkjulia/32/11653_2.png) [@FatsharkJulia](https://forums.fatsharkgames.com/u/FatsharkJulia)\
**Post date:** [October 3, 2023, 3:36pm UTC](https://forums.fatsharkgames.com/t/memory-leak-after-patch-rel-patch1-1-2x-external/83170/2 "2023-10-03T15:36:24Z")

</div>

I’ve shared this with our Engine Developers who are looking in to it. In the mean time, do you have DLSS enabled?

---

<div class="post-metadata">

**Author:** ![Turra](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Turra](https://forums.fatsharkgames.com/u/Turra)\
**Post date:** [October 3, 2023, 4:28pm UTC](https://forums.fatsharkgames.com/t/memory-leak-after-patch-rel-patch1-1-2x-external/83170/3 "2023-10-03T16:28:12Z")

</div>

Thank you!  
Yes, DLSS is enabled.

---

<div class="post-metadata">

**Author:** ![Turra](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@Turra](https://forums.fatsharkgames.com/u/Turra)\
**Post date:** [November 9, 2023, 5:06pm UTC](https://forums.fatsharkgames.com/t/memory-leak-after-patch-rel-patch1-1-2x-external/83170/4 "2023-11-09T17:06:18Z")

</div>

@FatsharkJulia Last night i had a few instances where i suddenly crashed due to “Out of memory” ERRORs.

[console-2023-11-07-23.27.24-31e6c100-5adb-4092-b832-591212b9dba0.log](https://forums.fatsharkgames.com/uploads/short-url/r2VDbWWgoh2jKox4lbXOHVD14S2.log) (391.6 KB)  
`23:28:24.185 warning: [DDGIVolume] memory leak in ddgi volume, this is a reminder for fixing this!`  
…

[console-2023-11-07-22.53.21-7bcf1007-da08-4151-bc0b-b35b5c1b30f6.log](https://forums.fatsharkgames.com/uploads/short-url/lzZyxBsM00X1Yajm5N33s1ONYVw.log) (130.6 KB)

```auto
23:26:27.597 [MessageBox] Out of memory.
Please close all background applications and try again.
23:26:42.086 <<Crash>>Page allocator 'page_allocator' failed allocating 524288 bytes, total 2510880768, last error: `The paging file is too small for this operation to complete.
`, error code: 1455

Assertion failed `ptr` at `D:\a\d\rel_engine_darktide\release\rel_2023_07_10_Patch1.2.0x\runtime\foundation\memory\page_allocator_win.cpp:230` in function `stingray::PageAllocator::allocate_vmemory`
<</Crash>>

```

.dmp files.  
[crash\_dump-2023-11-07-22.53.21-7bcf1007-da08-4151-bc0b-b35b5c1b30f6.dmp](https://forums.fatsharkgames.com/uploads/short-url/hpKV5H6mwUZkDxfpHH4p4yissSx.dmp) (1.0 MB)  
[crash\_dump-2023-11-07-23.27.24-31e6c100-5adb-4092-b832-591212b9dba0.dmp](https://forums.fatsharkgames.com/uploads/short-url/uHCAAywdhPvNWHsCxp3HIsjh7wX.dmp) (1.1 MB)  
…  
…  
Again, this is weird.  
I have never had this issue before i first made this bug-report and that was with 16GB 2333Mhz RAM, now i have 16GB of 3600Mhz RAM.  
And the issue not only persists, but have become even worse somehow?

The thing that supports that this is a memory leak issue is that this issue isn’t a “cause and effect” type of issue.

What i mean is that this issue doesn’t pop up directly after starting the game and entering a match.  
This issue suddenly becomes an issue after the darktide.exe process have been on for an hour, where i have gone through 1, 2 or even 3 matches.

---

<div class="post-metadata">

**Author:** ![Kyle](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@Kyle](https://forums.fatsharkgames.com/u/Kyle)\
**Post date:** [December 26, 2023, 4:22am UTC](https://forums.fatsharkgames.com/t/memory-leak-after-patch-rel-patch1-1-2x-external/83170/5 "2023-12-26T04:22:28Z")

</div>

My game just experiences severe frame rate drops after playing a level or two. I have to relaunch. 32gs of ram.
