This is what I did to fully fix my BF4 from all errors and issues below is a copy and paste of my fix........
In the last few weeks I got ALL my BF4 issues fixed at long last even the main one BF4 stopped working grrrr as well as page file error and memory error and and and lol.The memory error made me nuts as my video card is a GTX690 and I have 32 gigs of ram how could I be out of memory? When I installed win 8.1 was when I started to get Blue screen of death memory error more and this error made me look into how stable my windows was. When not in BF4 my PC was stable / never crashed but when I went into BF4 I crashed ... few times a day at times after some new BF4 patches it was crazy the crashing I had and at other times I could go days no crashing.Half the battle with BF4 is stable windows is on your PC ......it may act stable but if you have issues in BF4 good chance you have some type of issue on windows.
Make sure every driver is new and update bios if need be.
I did many a step to get it good to go. My first advice to you is open event viewer and see how many errors you have NOT from BF4 crashes this sec but other errors and if you have none count your blessings as it means you dont have homework like I did lol :} Event viewer is going to be your new buddy so make a short cut to it on your desk top We will come back to it.
This next part works in all windows O/S vista win 7,8 and 8.1 windows system file checker :]
...... sfc /scannow ..... ever hear of it if not your going to love this .... it will inspect all the important windows files as well as the windows DLL files. If windows system file checker finds any issues with the windows files and windows DLL files it will replace them. This little tool as well as the event viewer saved me and fully helped me fix my BF4 issues as well as saved my .... many a format since I found it.
1 - Open administrator command prompt and close web pages and programs like origin
2 - Type or copy and paste in sfc /scannow and hit enter, This takes 5 min to 15 min SSD vs HD
3 - This can go one of a few ways ..... no errors ... it fixed some errors ..... could not fix all errors...... does not finish checking and errors out ....... and the last one could not fix errors at all :/
4 -After its done reboot and do it again even if you had no errors the first time or had errors, could not fix ... run sfc /scannow again and when its done a second time reboot.
5- So if you ran it 2x and no errors your safe you can stop now for now lol, If you had errors first time but not the second then run sfc /scannow again and when its done reboot. You need to get could not find any errors 2 x to be safe. If it still finds errors try and run it a few more times until it finds no errors 2x AND ALWAYS REBOOT BETWEEN RUNNING sfc /scannow
6 - If you get a message indicating that it can not be repaired and you ran sfc /scannow 2X then if your O/S is Win8 or Win 8,1 then you can run this next command / line in administrator command prompt. Sadly this does not work for win vista or 7 :/ It will restore the health of your PC
dism.exe /online /cleanup-image /restorehealth <------- ONLY works for windows 8 and 8.1
7 - When its done reboot
Ok so now you know your windows is fully stable just like BF4 lol :} Over the next few days or weeks you may have to run sfc /scannow again so this command line is like event viewer your new best buddy lol. In truth I have short cuts up for both on my desktop and run sfc /scannow less now but it was daily as I was fixing errors in my event viewer. And now run it once a week just to be sure windows is still good to go. So after all this if you still have new errors in event viewer you do need to deal with them to get BF4 fully good to go. If you need help with errors in event viewer let me know if I can help I will as I bookmarked some good pages. My event viewer now has zero errors now but I still look at it daily :] Every once in a few one shows up and I google the event id and source with my O/s and look for the fix. Sometimes the error is just from installing or uninstalling a program.
Now the BF4 part this is what I did after I did all the stuff I just listed above ......
CC Cleaner do you know it ? If you dont have it its free and safe and you need it for this next part lol It is a handy tool as well. http://www.piriform.com/ccleaner/download
1- So what I did is went to tools in cc cleaner and uninstall BF4 and then I went to my Documents on my C drive and deleted the BF4 folder sitting in there, I have my BF4 installed on H drive but BF4 install still puts the BF4 screen shots and settings on your C drive my documents. And when you un install it stays even in windows add and remove programs. So the point is you want a fully clean install of BF4 delete the BF4 in my documents. Now reboot.
2- Open CC Cleaner again this time your going to registry dont get freaked out lol. All its going to do is remove fragments in the registry from uninstalled programs, It will give your the choice to back up do so if you wish. First time you run it you may have like 80 or more fixes but thats the normal. Empty recycle bin as well cant hurt all traces of BF4 must be gone.Now reboot again then just to be safe you run sfc /scannow just to be sure windows is still good to go. After it is done and if no errors you should be ok but if it finds errors well you know the drill run it again, And also check the registry again with CC Cleaner. Make sure everything is good clean and stable before you install BF4. Reboot after you do each step ! And ya you may have to run them all a few times before its fully clan and stable :/
3-Now D/L BF4 lol but dont pause it or let it get cut off lol I has to be one fully clean install done at one time.
This is everything I did to get my BF4 stable I hope it helps you and others as it took me forever to find the full fix for me. All I know for sure is this is what worked for me. So if it fixes it for you let me know and give me a XP if it fixes it for you so others know it worked.Also not sure if this helped but I do run Origin and BF4 as admin now just to be safe. If you still crash after all this double check to make sure all drivers etc are fully up to date. Also when I quite a game twice I did get BF4 has stopped working in the last 2 weeks my heart sank but it was only when I QUITE THE GAME NOT MID Map:/ So all I did is reboot and no issue when I went back into BF4 and first time ever I have NEVER had to repair game since I did all the steps listed above :} If all this works for you mark your topic as solved so others know it works and give me a XP :}