Hello There, Guest!

24-07-2012, 02:33 AM | Post: #1
Offline Chronox. 
Hi guys, this is my first guide here in the forums, please be gentle and help me tweak it ! Also my English isnt the best, so yeah... be gentle lol !

NOTE: This also works with PTE ! you dont need to repeat the process ! Big Grin - credits HomeSen

I tested this little software and IT WORKED, at least for me.

(Win 7 Home Premium 32 bits
DDR2 2GB RAM)

As the title says, there is an "application" that can help most of us who suffer from THE FAMOUS memory leak error during gameplay, this FREE application is called CleanMem !

Follow this guide in order to know what you are downloading and for configuring !

BEFORE READING THE GUIDE:

Memory wont really affect you unless your system have 2 GB RAM or less, or you set your system to allow more than 2GB of RAM to be ussed by a single process like specified in this thread: http://battlefield.play4free.com/en/foru...?tid=13030

But you can still try this temporal fix if you want ! I really doubt there is a risk in doing this lol.


GUIDE

What CleanMem is (Taken from the official site)

CleanMem is still a set it and forget program and is totally free, when you install CleanMem it will auto run every 15 min by the Windows Task Scheduler. Once installed it is set it and forget it. Just as it always has been.

CleanMem does help with programs that have memory leaks. The memory is pushed to the system cache, not the page file. The system cache is still in memory. And a program can call back what it needs instantly. This is why there is never a hiccup in heavy 3D games as CleanMem runs. The memory that is not reclaimed is freed and allowed to be taken over after a certain amount of time

More info : http://www.pcwintech.com/about-cleanmem

Do the following:

- Download the small software(Major Geeks) : http://www.majorgeeks.com/CleanMem_d5993.html

- After saving it, run the .exe, BE CAREFUL and choose your OS system well, (32/x86 bit or 64 bit).

- Finish the installation.

- Now go to where CleanMem is installed(Usually C:\Program Files\CleanMem or the Start Menu) and open CleanMem_Settings to initiate CleanMem wizard. ( C:\Program Files (x86)\CleanMem for 64 bits )

Follow this steps :

1-Click START !

Then configure each step as the following :

Disable clear file system cashe (as default)
[Image: f3tgs8.jpg]



2-Now disable log and file settings (unless you want to check the logs, lol)

[Image: eg3beh.jpg]




3-Now check "ONLY LIST" because we just want the program to clear BFP4f.exe memory, not the entire system.

ALTERNATE :select ALL PROCESSES if it didnt work at the first time after rebooting.
[Image: 2hya7a.jpg]


4-Now CLICK the " + " symbol and type BFP4f.exe on it , then click ok.
[Image: 4nakz.jpg]


5-And for the last step CLICK on "Install CleanMem Task schedule" and you will see a little CMD window pop up and finish the job, then click FINISH,

[Image: qxusqw.jpg]


Now restart your PC just in case and give it a go !

Congratulations you ve just got rid of the horrible memory leak problem with BFP4F.exe Big Grin

Remember that this application does NOT run in the background. It will just run every 15 minutes (default) as a taks schedule and check for the selected processes and clean the RAM they are not using (BFP4F.exe being our leaking case).

If you have any issue of trouble following this guide PLEASE POST IT HERE OR PM ME, I will gladly help you guys to get rid of the annoying memory leak problem !

F.A.Q ?

1-Q: Should I enable/apply the other memory fix along with this one ? (http://battlefield.play4free.com/en/foru...tid=13030)
A: There is no problem applying both fixes, of course having more than 2GB RAM will really help with this, if not there is really no reason, but you can try.


2-Q:This didnt work for me I keep crashing or gettin memory.dll errors ! Did I do something wrong ?
A: Looks like this might not work for very few people, please check the ALTERNATE instruction at STEP 3 and do it, if it didnt work PM me.


3- Q: I can't find how to make the clean schedule intervals shorter, do you know if it is possible? - By CropedFrag
A:Yes, it is. The tool gets set up as a "planned task", and you can change this task's behavior by opening the "CleanMem Mini Monitor", right-click on it's try icon and select "Change CleanMem Auto Runtime". This will open the "Planned Tasks" panel. Find the task named "Clean System Memory", right-click on it and select "Properties". Switch to the "Trigger" panel and modify both triggers to the time you want Wink - By HomeSen

(05-12-2012 09:37 AM)HomeSen Wrote:  Select the "Task Scheduler Library" to show all planned tasks. There you should find the "Clean System Memory" task:

[Image: clean_system_memory.png]


Bonus by HomeSen :

(07-08-2012 11:39 AM)HomeSen Wrote:  Also works great for Firefox. My FF always started clogging up my RAM and frequently became unresponsive for ~3secs. Now it only consumes ~100MB (as compared to 1.5GB, before) and I never had any hick-ups Smile (adding firefox.exe to the processes list)

Simply add firefox.exe to the processes list.


PLEASE post if IT WORKED for you.

Have a good day people !

[Image: T4G-ModBanner-Large.png]
FIX Memory leak
A proud RED Clan member
(This post was last modified: 10-12-2012 09:01 PM by Chronox..)
Quote
24-07-2012, 03:00 AM | Post: #2
Offline [RED]TwoBeaner 
Well done, Chronox!

Thank you
Quote
24-07-2012, 03:26 AM | Post: #3
Offline [RED]HienaMetal1 
Nice one Chro! I've done it! Thanks!
Quote
26-07-2012, 12:33 PM | Post: #4
Offline DA_CAT824 
sorry but what exactly is the "memory leak" issue?
Quote
26-07-2012, 12:44 PM | Post: #5
Offline HomeSen 
Nice Smile


(26-07-2012 12:33 PM)DA_CAT824 Wrote:  sorry but what exactly is the "memory leak" issue?

The game constantly reserves more and more RAM, without freeing/flushing the memory blocks it doesn't need anymore. This leads to either a crash of the game, it closes with an "Error: memory.dll"-message (because it can't allocate any more memory, due to x86-architecture-restrictions).

Further information on memory leaks in general: http://en.wikipedia.org/wiki/Memory_leak

I am a Community Moderator, not an Official EA Representative
[Image: cache.png]
Thanks to cpt.stone for that awesome piece of art
I'm currently on "parental leave" until 12th of July, so don't expect any immediate replies from me ;-)
Help us to help you! (DxDiag.txt & HiJackThis.log) | Stuck on Loading screen? | How To: Properly uninstalling the game | PunkBuster issues? Read here.

Quote
26-07-2012, 01:44 PM | Post: #6
Offline Strac.CRO 
Maybe they should integrate it into BFP4F.exe code by default.
It looks simple and small.

[Image: journeyv.jpg]
Quote
26-07-2012, 11:52 PM | Post: #7
Offline [RED]Chronox 
Is there a way to sticky this or put it in another sticky´s guide ?

There is too many people having issues to the memory leaks !

[Image: T4G-ModBanner-Large.png]
FIX Memory leak
A proud RED Clan member
Quote
27-07-2012, 12:28 PM | Post: #8
Offline HomeSen 
/Sticky tape applied and added to the List of known user fixes and workarounds

I am a Community Moderator, not an Official EA Representative
[Image: cache.png]
Thanks to cpt.stone for that awesome piece of art
I'm currently on "parental leave" until 12th of July, so don't expect any immediate replies from me ;-)
Help us to help you! (DxDiag.txt & HiJackThis.log) | Stuck on Loading screen? | How To: Properly uninstalling the game | PunkBuster issues? Read here.

Quote
28-07-2012, 05:36 AM | Post: #9
Offline Chronox. 
Thanks, HomeSen !

Have you guys tested the "fix" ? It worked right ? Tongue

[Image: T4G-ModBanner-Large.png]
FIX Memory leak
A proud RED Clan member
Quote
28-07-2012, 02:04 PM | Post: #10
Offline branac88 
thanks

[Image: apotpis18.gif]
image hosting
Quote
29-07-2012, 08:23 AM | Post: #11
Offline AbdulEllahib 
Thanks it's worth it !

[Image: signaturebfp4f.png]

Quote
29-07-2012, 09:11 PM | Post: #12
Offline 303ConArtist 
Do the task processes affect the game/system running?

Quote
29-07-2012, 10:18 PM | Post: #13
Offline Chronox. 
They wont affect the system if you followed the instructions, MemCleaner will only ask BFP4F.exe process to free some unused memory, memcleaner itself isnt an on-going process, it just pops up every 15 minutes (default) and ask the listed processes to free some RAM (in our case, bfp4f.exe).

But if you select "All Processes" from the Operating Mode option, it may affect your system, either good or bad (less probable).

[Image: T4G-ModBanner-Large.png]
FIX Memory leak
A proud RED Clan member
Quote
29-07-2012, 10:57 PM | Post: #14
Offline RainWR 
System crashes to reboot whenever trying to open the mem program.

I have WinXP Pro 32 bit. I chose 32 bit. Program does not work as advertised. Simply clicking on it to open it and BAM, black screen, rebooting... Program uninstalled, deleted install file.

Got a better idea, how about writing CLEAN code for the game and fix the issue at the source.

Or is that outside the skill level of the programmers here?

Game crashes within 2 rounds. Freezes up solid, can't ALT TAB DEL out, can't ALT F4 out, nada... have to reboot. No other program, game, you name it, does this to my system.

Not a happy camper when I rack up a glorious kill ratio to suddenly lock up 3/4ths of the way through the first full round of a game on the first server I join... really lame. Only started doing it recently, which means in my opinion since I haven't changed or added anything recently, something you guys changed in the code is causing the issue.

[Image: rain.jpg]

"The only thing necessary for the triumph of evil is for good men to do nothing" ~ Edmund Burke {Irish orator, philosopher, & politician (1729 - 1797)}
Quote
30-07-2012, 10:04 PM | Post: #15
Offline Chronox. 
Well, yes the best solution is that they fic the memory leak witht he coding, but it has been almost 2 years ? and they havent done anything Confused...

Sad to hear your system crashes with the software, pretty weird...

[Image: T4G-ModBanner-Large.png]
FIX Memory leak
A proud RED Clan member
Quote
01-08-2012, 05:41 AM | Post: #16
Offline Chronox. 
MAIN POST UPDATED with additional info + alternatives.

Sorry i made a TYPO with the only list step, it is BFP4f.exe (the last f without caps)

[Image: T4G-ModBanner-Large.png]
FIX Memory leak
A proud RED Clan member
(This post was last modified: 01-08-2012 06:32 AM by Chronox..)
Quote
02-08-2012, 05:27 PM | Post: #17
Offline PsYLegend 
C:\Program Files (x86)\CleanMem for 64 bit...ty this was great , it works :3

[Image: zXAvFoU.png]

Click My Sig, and Subscribe.
Quote
02-08-2012, 05:46 PM | Post: #18
Offline Chronox. 
Good to hear it, gonna add that address to the guide, ty.

[Image: T4G-ModBanner-Large.png]
FIX Memory leak
A proud RED Clan member
Quote
02-08-2012, 05:50 PM | Post: #19
Offline XkS.Assassin.GEO 
Well,the game doesn't loads memory by much now,but it still doesn't run as smooth it must.
Quote
03-08-2012, 02:27 AM | Post: #20
Offline Chronox. 
Nope, It would be kinda rare if it ran better, but at least you get some stability ! wich not only protects your PC, it also protects you from raging lol.

[Image: T4G-ModBanner-Large.png]
FIX Memory leak
A proud RED Clan member
Quote



Forum Jump:


WEB_PLAYER_PROFILE_ADD_TO_FRIENDS
WEB_PLAYER_PROFILE_REMOVE_FROM_FRIENDS
/en/ajax/checkFriendStatus
/en/ajax/friend
Battlefield Play4Free requires Windows XP or newer, sorry!
Please upgrade to Internet Explorer 5 or newer.
The 64bit version of Internet Explorer is not currently supported, please use the 32bit version.
Please upgrade to Firefox 1.5 or newer.
Please try Internet Explorer, Firefox or Chrome.
Battlefield Play4Free does not currently work with your browser.