The problem is that the BF2.exe is trying to use more memory than it is allowed to, this fix enables the BF2.exe to use more than it's current limit of 2gb (physical and PF together) for the second or two it needs it during certain map loads.
Video Tutorial at the bottom of this post.
Color Coded Key.
Dark Red (Windows Vista 23bit & 64bit)
Dark Blue (Windows 7 RC 32bit & 64bit)
Sienna (Windows vista 32bit - 64bit & Windows 7 RC 32 - 64bit)
Black DOS guide and the thinks i forgot to color!
I Color Coded it to try and make it trad proof.
Edited for Windows 7 RC 32bit - 64bit & Windows Vista 32bit - 64bit
Here you go
(You'll need to be an Administrator)
Windows Vista 32bit - 64bit
First, you'll need to grab and install Visual Studio C++ Express from Microsoft.
It's free so don't worry. Downloads
(You'll need to be an Administrator)
Windows 7 RC 32bit - 64bit
Windows 7 RC user's follow the Vista 64-bit guide.
It's free so don't worry. Downloads
Once installed, you'll need to update it, also make sure u have latest game
patch installed.
Backup the bf2.exe file, just in case.
Windows Vista 32bit - 64bit
Now, click
Start ->Visual C++ 2005 Express Edition ->Visual Studio Tools ->Visual Studio 2005 Command Prompt
Windows 7 RC 32bit - 64bit
Start->All Programs->Microsoft Visual Studio 2010->Visual Studio Tools->Visual Studio 2010 Command Prompt
(Don't left click on VS 2005 command prompt though, right click on it and then click **"Run as Administrator"**)

**If you don't run it as Administrator the fix will not work**
Then, once the black Command Prompt box is open, navigate to your battlefield 2 directory.
If you don't know how to navigate in DOS, follow this :d efault
In Windows Vista 32bit & Windows 7 RC 32bit cd c:\Program Files\ ENTER **or** In Windows Vista 64 & Windows 7 RC 64bit cd c:\Program Files (x86)\ ENTER

then usually it's "cd EA GAMES" ENTER

then "cd Battlefield 2" ENTER

NOW WRITE THIS
editbin.exe /LARGEADDRESSAWARE BF2.exe hit ENTER

It should then come up with a "Microsoft copyright or trademark" type thingy, this means it was successful.

Type "exit" and hit ENTER, and it's fixed! for vista 64-bit
64 bit Vista users can now restart and play, **32 bit Vista users follow the next step**
In a command prompt and once again **Run your command prompt **"As Administrator"**

You should have this

Type this command:
BCDEDIT /set increaseuserva 2900 ENTER

Now exit out of that box, restart and you're done!
<object width="660" height="525"><param name="movie" value="http://www.youtube.com/v/gc-Em6SFJj4&hl ... ram><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/gc-Em6SFJj4&hl ... 1&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="525"></embed></object>[/youtube]
**THIS IS ONLY FOR "memory .dll error" AND ONLY THIS.
THIS WILL NOT HELP ANYTHING LESS AND PLEASE DON'T USE THIS FOR ANYTHING OTHER THEN THE POSTED ERROR**
This was done with Vista 32-bit in the photo's
I posted this before back around 0.6 but I did not have the Photo's to help and couldn't find it anywhere so I thought I'd retype it with Photo's help.
***Updated***
If you are using a ATI card on your computer, You will need to uninstall C++ and all its files to upgrade your drivers C++ will sometimes stop the driver install program from responding the fix will still say after you delete C++.




