Battlefield Bad Company 2 memory leak on 64 bit Windows


  1. Posts : 126
    Windows 7 Professional x64
       #1

    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 Computer


  2. JMH
    Posts : 7,952
    Win 7 Ultimate 64-bit. SP1.
       #2

    M4dn3ss,

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

    Event viewer.
    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 Computer


  3. Posts : 126
    Windows 7 Professional x64
    Thread Starter
       #3

    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 Computer


  4. JMH
    Posts : 7,952
    Win 7 Ultimate 64-bit. SP1.
       #4

    > 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 Computer


  5. Posts : 126
    Windows 7 Professional x64
    Thread Starter
       #5

    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
    Battlefield Bad Company 2 memory leak on 64 bit Windows Attached Files
      My Computer


  6. Posts : 126
    Windows 7 Professional x64
    Thread Starter
       #6

    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 Computer


  7. JMH
    Posts : 7,952
    Win 7 Ultimate 64-bit. SP1.
       #7

    Keep it under observation...
      My Computer


  8. Posts : 126
    Windows 7 Professional x64
    Thread Starter
       #8

    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)?
    Battlefield Bad Company 2 memory leak on 64 bit Windows Attached Files
      My Computer


  9. Posts : 126
    Windows 7 Professional x64
    Thread Starter
       #9

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 04:34.
Find Us