How to fix memory leak problems

123fakest

Reputable
Jan 4, 2015
21
0
4,510
Hello, in January I completed my first PC gaming build (previously gamed on an alienware m17xr3 gaming laptop for three years). Glad to say I had no issues with coil whine or defective parts.

Onto the main issue, I have noticed that while playing BF4 that my fps go from 95-125 fps at the start of a campaign mission all the way down to 10-25 fps 10-15 minutes later, it is not occasional fps drops rather a gradual permanent decrease in frames per second. If i try to exit and restart the game, it starts at 10-20 fps. In order to even start the game at a high fps I have to immediately start the game after computer restart (for example if I browse the internet or work in excel for half an hour then play the game will also start at a low fps).

Also, while far cry 4 had no decrease in fps, I would receive an occasional windows error message saying that "my machine is running low on memory, please close programs." Graphical setting are not the culprit, I reduced setting in bf4 from ultra to low and reduced the resolution and the fps were exactly the same. There seems to be no issues regarding this in games like crysis 3 and sniper elite 3.

My system is the following, windows 7 professional 64 bit, msi 4g gtx 970 sli, asrock x99 extreme4 mobo, (4x4)16 GB ddr4 crucial ballistik ram running at 2400 mhz, samsung 850 evo 250 gb, and 1 tb wd black hdd. I did try and switch between recent nvidia graphic drivers (clean install) but the problem does not go away. I also have notice that idle system memory usage seems to increase as I use the computer more, if there is a memory leak how would I go about solving it, would I need new ram, or more (though 16 should be sufficient), or is there a software fix? thanks

Temps on all components are fine (cant check ram temp because no software seems to tell it).
 


asrock x99 extreme4

BF4 has a known memory leak when using AMD's Mantle API, but this shouldn't be applicable to your PC.

Please post a screenshot of the memory consumption in task manager.

Task Manager -> Performance -> Memory

I'm especially interested in the size of the non-paged pool over time.
 


I do check temps using cpuid and hwinof64, and nothing is overheating, gpu 0 = 63-66 c gpu 1 = 73-75 c (hot air blows onto it from the top card), i7 5820k = 50-56 c, both ssd and hdd = 27-28 c, only ram temps are not given.
 


yeah after looking closer it really does seem like a memory leak issue, but for some reason bf4 reacts with decrease in fps but other games dont. When I first started my computer it has physical memory at 12% and what I did was I kept it idle for 3 hours and now physical memory is at 87% with only (2 GB physical memory free). The line graph for Physical memory usage history is idling at the top now.

http://postimg.org/image/o78fowl5p/
 


That is indeed a memory leak, it's a memory leak in a driver though. Please provide a full list of everything that you have installed in your PC hardware wise. Absolutely everything.
 


Are you sure that it is not an issue with the ram modules themselves?

All Hardware installed:
asrock x99 extreme4 (mobo)
MSI 4G GTX 970 (2 way sli)
i7-5820k
16 GB (4x4) ddr4 2400 mhz crucial ballistik ram
samsung 850 evo 250 gb ssd
WD BLACK 1 TB 7200 rpm hdd
Pioneer Black 16x blu-ray burner (internal bdr 2209)
additional:
Cooler Master Hyper D92 (cpu cooler)
evga 850w g2 power supply
Use windows 7 64 bit professional with SP1

I use external Logitech z130 speakers, however these are plug in play and require no software. Asus pb27q monitor (1440p), also no software. Use an old usb keyboard from 8-9 years ago, and a logitech g700 mouse ( I did not install setpoint software yet, and am using the settings which I have already created from my old gaming pc). No wifi either just use ethernet connection.

Any mobo drivers I got straight from the Asrock site and nvidia drivers from nvidia site.
 


Definitely not a problem with the memory itself.

The only drivers that you should get from ASRock are the Management Engine drivers. Everything else, get from the manufacturer's website.

Intel's Management Engine drivers - ASRock's website

Intel's Chipset drivers - Intel's website

Intel's RST drivers - Intel's website

Intel's LAN drivers - Intel's website

Intel's USB 3.0 drivers - Intel's website (not needed on Windows 8, but needed on Windows 7)

Realtek's audio drivers - Realtek's website

NVidia's display drivers - NVidia's website

Does battlefield 4 experience any issues when playing multiplayer?
 


would it be safer to uninstall current drivers, or could I just install the new driver downloads over the existing ones? Would it need to be uninstalled through the device manage or the "uninstall programs" menu?

Same problem occurs anywhere in BF4, whether campaign or multiplayer.

 


I usually recommend uninstalling existing drivers. Installing new drivers overtop is usually fine, but some driver suites have a user component to them as well (often a control panel) which will often malfunction if the kernel component (the driver) is removed or replaced.
 


Thanks for the help so far, for some reason the memory leak is gone from my computer today. I booted the system and then put it in sleep mode for an hour, and then have used it for 6-7 hours continuously with no issues or memory leakage, and bf4 performance has been consistently in 95-120 fps (with no fps drops and I have not reinstalled my drivers yet), so before I reinstall drivers I will try to figure out why everything works fine as of now and then post back here.
 


Alright, keep us posted
 


As of right now I think I found the issue, and it was the application "java 8 update 25," after uninstalling this and restarting my system there has been no memory leak. Specifically in task manager the process javaws.exe *32 kept dissapearing and reappearing, but I could not remove that so I uninstalled java, perhaps I should wait until the next update?
 


Sure, sounds like a plan.