Go Back   Project Reality Forums > Project Reality Mod Forums > PR Help and Hardware Support
PR Help and Hardware Support : Help and support regarding PR and computer issues.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Reply
 
LinkBack Thread Tools Display Modes
Old 05-20-2008, 12:14 AM   #1
Gameserver Administrator

R.J.Travis's Avatar
I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

I found this in the PR forums under a name that did not tell the people what it fixed.

I tested it and it work's!!!! PB dose not kick you or anything I have not had 1 crash since I tested on my 4 computers with 32 bit & 64 bit.

you should re wright this and make it a sticky please.


I found a fix for the "memory .dll error" that kicks some of us out to desktop every 2 or 3 map loads on certain servers, some more than others but from what I have been reading this is a problem for a lot of people running Vista, myself included.

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.

Here you go

(You'll need to be an Administrator)
First, you'll need to grab and install Visual Studio C++ Express from Microsoft.
It's free so don't worry.
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.

Now, click
Start ->Visual C++ 2005 Express Edition ->Visual Studio Tools ->Visual Studio 2005 Command Prompt
(dont left click on VS 2005 command prompt though, right click on it and then click "Run as Administrator"
**If you dont 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:

In Vista 32: cd c:\Program Files\ ENTER **or** In Vista 64: 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!

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"**

Type this command:
BCDEDIT /set increaseuserva 2900 ENTER
Now exit out of that box, restart and you're done!
R.J.Travis is offline Reply With Quote
Old 05-20-2008, 12:19 AM   #2

creepinshadow24/7's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

i have this problem very seldom, (like 2 a year), and when you edit the binarys, doesn't PB kick you?

Life's too short to live it fast
I'm a PRSP Tester
creepinshadow24/7 is offline Reply With Quote
Old 05-20-2008, 12:21 AM   #3
Gameserver Administrator

R.J.Travis's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

No PB will not kick you if you follow what it says i tested it on 4 computers & 20 public servers.
R.J.Travis is offline Reply With Quote
Old 05-20-2008, 12:23 AM   #4

creepinshadow24/7's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

ok, still. too much of a hassle for me, i can live without this fix, since the error appears too seldom to do this.
(yeah, i'm lazy)

Life's too short to live it fast
I'm a PRSP Tester
creepinshadow24/7 is offline Reply With Quote
Old 05-20-2008, 12:24 AM   #5
Gameserver Administrator

R.J.Travis's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

It truly took me only 5m to do it was really easy.
R.J.Travis is offline Reply With Quote
Sponsored Links
Old 05-26-2008, 02:46 PM   #6

Sutaki's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

I'm doing it with the 2008 version (9.0) and i can do everything up until that editbin.exe thing it tells me "'editbin.exe' is not recognized as an internal or external command, operable program or batch file." Help please!
Sutaki is offline Reply With Quote
Old 05-26-2008, 05:55 PM   #7
Gameserver Administrator

R.J.Travis's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

Quote:
Originally Posted by Sutaki View Post
I'm doing it with the 2008 version (9.0) and i can do everything up until that editbin.exe thing it tells me "'editbin.exe' is not recognized as an internal or external command, operable program or batch file." Help please!
editbin.exe /LARGEADDRESSAWARE BF2.exe

type it just like that should work
R.J.Travis is offline Reply With Quote
Old 05-28-2008, 10:20 PM   #8

Mora's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

Can you not just upload the edited exe? it would be allot easier.

Mora is offline Reply With Quote
Old 05-29-2008, 03:22 PM   #9

Hetzer's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

Quote:
Originally Posted by R.J.Travis View Post
I found this in the PR forums under a name that did not tell the people what it fixed.

I tested it and it work's!!!! PB dose not kick you or anything I have not had 1 crash since I tested on my 4 computers with 32 bit & 64 bit.

you should re wright this and make it a sticky please.


I found a fix for the "memory .dll error" that kicks some of us out to desktop every 2 or 3 map loads on certain servers, some more than others but from what I have been reading this is a problem for a lot of people running Vista, myself included.

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.

Here you go

(You'll need to be an Administrator)
First, you'll need to grab and install Visual Studio C++ Express from Microsoft.
It's free so don't worry.
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.

Now, click
Start ->Visual C++ 2005 Express Edition ->Visual Studio Tools ->Visual Studio 2005 Command Prompt
(dont left click on VS 2005 command prompt though, right click on it and then click "Run as Administrator"
**If you dont 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:

In Vista 32: cd c:\Program Files\ ENTER **or** In Vista 64: 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!

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"**

Type this command:
BCDEDIT /set increaseuserva 2900 ENTER
Now exit out of that box, restart and you're done!

Ok, I've executed this fix (went without any of the problems mentioned above) and will report back with my findings once I've run the game. I'm hoping it'll stop the broken net connection problem I'm having, if that is memory related as I suspect.

If it works I'll post the exe for others to try.
Hetzer is offline Reply With Quote
Old 05-29-2008, 04:55 PM   #10

Hetzer's Avatar
Re: I found a fix for the "memory .dll error" for vista 32 & 64 bit user's.

I made it through two maps without a hitch (no loss of conn), but CTD on the loading-bar for Sunset City.

The conn might be a coincidence or it might haved fixed that, I won't know until further testing (playing actually, who am I kidding ).

The CTD I can live with, I'm always able to get back in before everyone has deployed. It's the loss of conn that drives me up the wall, so fingers crossed this has at least had a positive influence on that (not holding my breath of course, it's a bit of a long shot).
Hetzer is offline Reply With Quote
Sponsored Links
Reply


Bookmarks

Tags
bit, fix, found, memory dll error, user, vista
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:17 AM.


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.