[SOLVED] BF5 Memory Leak

I've have an ongoing issue that plagued 2 different builds. When I start a match in Battlefield 5 my RAM usage steadily climbs to the point the game starts to skip and stutter. It's not something that happens all the time, but it shouldn't happen at all.

When I start a fresh round my RAM usage is around 8500MB. This will sometimes steadily climb to over 13000MB. When it gets near 11000MB it will skip and stutter. Once it reached 12-13000MB its unplayable.

No overclocks on anything. Temps are GPU = 65* and CPU = 56*. Game is installed on SSD.

My old build was a 2600x and B450 board and the current is a 2700x and x470 board(see specs in sig). The same RAM was used in both. And of course a full reinstall on Windows happened.

More info: I play with DX12 enabled and also RTX on medium. My framerates are ~80FPS.
I just tried to play a round and couldn't make it to the halfway point. I have to exit game completely or else I'll be in the menu with 12gb of RAM used. This will almost always mean the next game will be unplayable. Then I'll start and play a few matches and it's fine.
 
Try run in DX11 mode. There may be a problem with DX12.

You can also try limit your virtual memory, initial 1024 and maximum 1024. Or if that doesn't work, try increase it to 1.5x your memory to 24GB initial and maximum so the size is fixed and Windows isn't constantly changing the pagefile on you. Might help stabilise memory and pagefile better.

https://www.thewindowsclub.com/increase-page-file-size-virtual-memory-windows
 
Solution

My specs are similar to yours and I, too, have observed in-game freezing/stuttering behavior caused by memory leaks (in my case, while playing Fallout 76). Setting process priority to "Low" and processor affinity to the even-numbered CPUs only improved performance for me. It's not perfect, but it's something.
 
Update: When I played game under DX11 API it is smooth as butter FPS well over 100. Memory use never exceeds 8500MB. I also Googled the issue and seen I'm not the only one with the problem. It's very frustrating that I can't use my RTX for the only game available ATM for its intended purpose.
 
Update: DX11 works great. No issues.

DX12 is bugged. Ram fills up and either crashes or uses page file which leads to stuttering.
System managed paging file size crashes after about 10-15 minutes of playtime.
Custom size 1200mb crashes after a few minutes.
Custom size 24gb doesn't crash but just suffers stuttering after RAM gets up to around 11gb used.

No other game of the 26 I have exhibit this issue. Sniper Elite 4 is a DX12 game and its flawless.
 
Hey,

I have the exact same issue, RTX 2080, Ryzen 2700X, 16gb 3200 Mhz RAM. I have tried almost everything and I am not sure what to do. When I use DX12 and RTX (even on low) my RAM usage keeps increasing while I play. When it reaches 13 GB it starts to stutter and drops FPS significantly and I have to reset the game. I have tried increasing virtual memory and using List Cleaner - doesnt help just lets you play a tiny bit longer before it stutters.

I am using Windows 10 Home edition, and I have all the latest updates/ bios updates/ driver updates etc. Just running out of options and it is really frustrating.

I am also positive DX11 has the same issue, it is just you need to play hours long for the RAM to reach very high levels, because sometimes it reaches 10 GB which I don't think is normal for DX11.

I am using MSI Afterburner to monitor the stats, but I don't believe it is the cause of the leak.

Hope anyone can provide a fix ?

Thanks
 
Same problem here .

Core i9-9900K / RTX2080 / 16GB 4133MHz and sudden FPS drops and high RAM usage. It's slightly better on DX11 but still happens.
Playing on 2560x1440.

I didn't notice this problem on any other games and doesn't matter if it's 11 or 12 DX

Anybody have fix on it? Or this is a feature not a bug 😉?

P.s. Maybe only fix is to upgrade to 32GB RAM? But doing so just for one game it's crazy I think...
 
32gb wouldn't be a bad idea and an ssd if you don't have one. Even though 16gb is recommended, its only a recommendation. For today's standards, 8gb isn't enough really and can cause too much pagefile usage. 8gb was considered enough back in the day but now, 8gb is considered entry and 16gb is slowly becoming the same in big games of late.
 
I have1TB SSD m.2 PCI-E Samsung 970 EVO+ so as for now I'm simply assuming that BFV somehow needs more than 16 GB RAM unfortunately :/ But if someone have better ideas I'm ready to give more tries.