Memory Leak on PC?

Issue Type (Required):

Performance

Issue Description (Required):

Gradually as I move through a mission, my FPS slowly gets worse and worse until it becomes a slideshow.

I am assuming this is a memory leak.

[PC] Do You Use Mods? (Optional):

Yes, and I’ve tried disabling them

Reproduction Rate (Required):

Constant (100%)

Platform (Required):

Steam (PC)

1 Like

Hi! We would need some more information to look in to this. Have you monitored memory usage via the Task Manager?

1 Like

Ahh… I did not.

I will have to look into the next time I play. Though the performance degradation was really REALLY bad.

I verified my files (steam and and launcher), cleared my shader cache, tried multiple different options for worker threads.

Anything else I could try to look into a solution?

Hi Julia,

Just something to not, I haven’t tested for a memory leak yet, but I did notice that when I used any sort of upscalling my performance degraded quicker, and also was just plain worse as well.

Hi Julia,

I have done further testing and discovered that disabling Mesh Streaming was causing this issue. Last patch, it was helping with performance.

Feel free to close this issue / mark it as resolved.

i have the same problem how do i turn that off

2 Likes

Do you use ray tracing? I’ve been having an issue that sounds like yours and the only that fixed it for me was turning off ray tracing. How exactly did you fix that problem? I don’t see an option for mesh streaming

i will look

It’s a setting in the game files not accessible through the launcher or in game settings.
Right click the game in steam and hit browse local files:


In bundle → application_settings find and open settings_common.ini then find mesh_streamer_settings and set disable to true:

Save and close the file and that’s it!
Just be aware this does increase VRAM usage by a few GB and this setting switches back to false every time there’s a game update so you’ll need to change it back

1 Like

This has been causing me MASSIVE performance issues after the latest update. Like quite literally im at 20fps at some points in the game

Weird.

I saw your other comments in the experimental branch thread. Is it happening with or without the other changes you made mentioned there? I’m going to give those a shot though I do have SAM/ReBAR and HAGS on.

iirc you previously asked me to try with them off but previous to fixing my crashes turning SAM off would cause crashes even quicker so I didn’t feel like risking it even after fixing my problem.

Edit: Tried it out and didn’t have any issues. Loading was relatively quicker in things that weren’t heavily server dependent (i.e. Backing out to character select was faster but loading into the mourningstar still had to wait for the server)

Oh also do you play with FSR? I mentioned before but FSR 3.1.2 has a fixed DX12 memory leak in the changelog and last I checked Darktide still comes with the original 3.1.0 version. I’ve been swapping out the amd_fidelityfx_dx12.dll in the game files with the new one and haven’t had any detrimental effects as far as I can tell, though I haven’t had any major issues with performance either way.

I use XESS because its better than FSR3 anyway. So no thats not the issue for me.

TBH i’m out of energy, i’ve figured out its the texture streaming settings causing me to stutter a bunch. I’ve fixed it up and now I dont have that issue. Sometimes get stutters when hordes spawn but im at the point where I just can’t be assed testing. I’ve passed along my feedback to the devs and fingers crossed something comes of it.

If you want my settings for yourself let me know

could you let me know what you changed? i am having the same problem, gradually throughout a mission performance deteriorates into a slide show

Under the file settings_common.ini, ensure that mesh_streamer_settings value disable is equal to false. This used to help with performance but not I just get performance degradation with it on.

mesh_streamer_settings = {
	disable = false
	eviction_timeout = 5
	frame_time_budget = 1
	io_buffer_budget = 10240
	limit = 700
}

Finally under the same file, adjust these values as follows:

streaming_buffer_size = 64
streaming_max_open_streams = 64
streaming_texture_pool_size = 512
surface_properties = "application_settings/global"
texture_streamer_settings = {
	streaming_buffer_size = 128
	streaming_texture_pool_size = 1024
}

I’m not sure how much VRAM you have, but this seems to have helped almost everyone I’ve talked to with over 8gb of VRAM and up.

If you need help finding this file, follow my guide here: I fixed stutter and textures not loading in! (Texutre streaming config file change)

1 Like

Will try it, tyvm!