Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Battlefield Bad Company 2 memory leak on 64 bit Windows


10 Jan 2012   #1
M4dn3ss

Windows 7 Professional 64-bit
 
 
Battlefield Bad Company 2 memory leak on 64 bit Windows

I just reinstalled Windows 7, the 64 bit version (I was previously using 32 bit) and now when I play Bad Comapany 2, after a while (less than a minute) the game will just completely freeze up (sometimes the audio gets stuck and loops) and the whole computer is unresponsive for a minute or so... then it crashes without an error.
It's not Punkbuster, because I tested single player and the same thing happens. I heard it could be caused when people used cracked versions of Windows but mine is completely normal and legitimate. I've also heard it could sometimes be caused by Realtek onboard sound chips, but I still get the problem after disabling it. (Which is not a good solution anyway because I don't have any other sound card I could use)
I ran Task Manager and I found that after a little while after loading the level, everything would be normal and all of a sudden the memory usage would go up like crazy until BFBC2.exe was using over 2gbs of ram; the memory usage would go up to 99% and at that point it freezes.

I have no idea what's causing it; it worked fine when I ran the game on 32 bit last night before I reinstalled


Edit: After monitoring task manager more closely, the memory usage starts to jump after I reach certain parts in single player missions (multiplayer is too unpredictable to test properly). If I quit to the main menu before the RAM usage goes up to 99% it takes a long time, during this time the memory usage goes down before it settles, and then the menu appears. If I stay in one place at the start of a mission (tested on Airborne and Heavy Metal) the memory usage doesn't jump up (until of course I advance through the level a bit)

Edit 2: On another map, Sangre Del Toro, the memory usage goes up after taking a few steps forward


My System SpecsSystem Spec
10 Jan 2012   #2
JMH

Win 7 Ultimate 64-bit. SP1.
 
 

M4dn3ss,

To check for freezing/crashing you need to do the following.

Event viewer.
Quote:
Type eventvwr in search and go to the windows log > application AND System tabs.
Look for errors that have red in the left hand column that say app hang, or app crash, or anything relating to the CURRENT problem.
When you find any make a screenshot and upload them to us.


What information appears in event logs? (Event Viewer)
My System SpecsSystem Spec
10 Jan 2012   #3
M4dn3ss

Windows 7 Professional 64-bit
 
 

There aren't any errors or warnings, I only see "information" events
Note that the game, upon reaching 99% memory usage freezes the whole computer for a bit and then crashes without any error
My System SpecsSystem Spec
10 Jan 2012   #4
JMH

Win 7 Ultimate 64-bit. SP1.
 
 

> Nothing indicating the "source" of your problems in Event Viewer......hum!

> Run SFC.{Option2}
Let us know the results at the end please.

SFC /SCANNOW Command - System File Checker

> Suggest you also run the System Update Readiness Tool.
Then update to SP-1

Ensure you install the correct 64 or 32 bit option for your system)
Download the System Update Readiness Tool (64bit)
Download the System Update Readiness Tool (32bit)

http://windows.microsoft.com/installwindows7sp1

My System SpecsSystem Spec
10 Jan 2012   #5
M4dn3ss

Windows 7 Professional 64-bit
 
 

Well I ran the SFC:


Extracted the contents of CBS.log into a text file (attached)
I have a modified explorer.exe because I have a modded start orb; SFC appears to have detected that but it didn't restore the original explorer.exe
No other system file seems to be modified so that appears normal

I already have SP1 and all the latest updates


Attached Files
File Type: txt sfcdetails.txt (74.0 KB, 14 views)
My System SpecsSystem Spec
10 Jan 2012   #6
M4dn3ss

Windows 7 Professional 64-bit
 
 

Update: Some further explanation:
When BFBC2.exe's ram usage goes to about 2gb it stutters heavily (at the rate of about a frame every few seconds) - at this point the ram usage will start to decline until the game becomes normal again. Sometimes it will go over 2gb until the ram usage of the whole system is over 99% and at that point the whole computer will freeze and the game will crash before things return to normal. (At this point I also get a lot of HDD activity)
In multiplayer sometimes it will disconnect me from the server and return me to the main menu.
My System SpecsSystem Spec
10 Jan 2012   #7
JMH

Win 7 Ultimate 64-bit. SP1.
 
 

Keep it under observation...
My System SpecsSystem Spec
10 Jan 2012   #8
M4dn3ss

Windows 7 Professional 64-bit
 
 

Hooray! I managed to get an error message from Windows!
Contents of the .wer file saved to a text file using AppCrashView are attached

Screenshots in Event Viewer below:
http://img205.imageshack.us/img205/6233/event1i.png
http://img266.imageshack.us/img266/2569/event2r.png


BTW, Does it have anything to do with the fact that Steam is installed on D drive in Program Files and not Program Files (x86)?


Attached Files
File Type: txt bfbc2.txt (1.3 KB, 26 views)
My System SpecsSystem Spec
10 Jan 2012   #9
M4dn3ss

Windows 7 Professional 64-bit
 
 

Well I reinstalled it and it works fine. Like WTF? o.0
Anyone know why it didn't work properly in the first place??
My System SpecsSystem Spec
Reply

 Battlefield Bad Company 2 memory leak on 64 bit Windows




Thread Tools



Similar help and support threads for2: Battlefield Bad Company 2 memory leak on 64 bit Windows
Thread Forum
battlefield bad company 2 low fps Gaming
battlefield bad company is shuting down itself BSOD Help and Support
Battlefield Bad Company 2 freezing up Gaming
Battlefield Bad Company 2 for $19.95 Gaming
Battlefield Bad Company 2 Gaming
Battlefield Bad Company 2 Gaming
Battlefield Bad Company 2 Gaming

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:07 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App