[WORKAROUND] NP Pool Memoryleak
Hey you memoryleak-tortured players out there!
I've created a little application as a workaround for the annoying NP-MemoryLeak in BF4.
Initially I just did that for myself but as there are many other unfortunate memoryleak-victims out there I've decided to share this little application with you.
So what is this application and what does it do?
It's a Powershell-Script (Powershell is the successor of the classic Windows-Commandline and is delivered with Windows since Vista) which basically monitors the NonPagedPool-Area of your memory and kills the BF4-process when a memory-leak is detected.
This scripts is just an assistance for early memory-leak-detection and prevents your memory from total overflow. Thus you don't have to restart
your PC with every memory-leak. You only have to restart the game. Since the memory-leak always occurs on mapchange (not midgame) this is a small price for not having to restart your PC.
How to run this application?
First you need to set the Execution-Policy of Powershell. You do this by opening powershell with admin-privilegs and typing in the following command:
Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy Unrestricted
This will allow powershell to run scripts without any confirmation! (You will have to do this step only once)
Then you just have to double-click the script everytime you want to play bf4 and close it when you are done playing.
The script is also configurable through various parameters. For details please take a look at the help-topic via the command
help [Path to Script] -full
Where to download?
[Removed - Admin.]
Problems / Suggestions?
If you're experiencing any errors while executing the script, please post them together with your system-specs and I will look into it!
Also feel free to leave suggestions if you are missing something.
- Anonymous12 years ago
ok, then I am done here. Bye.