1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Is this evidence of a memory leak?

Discussion in 'Games' started by Black Panther, Dec 18, 2011.

  1. Black Panther

    Black Panther Senior Moderator™ Staff Member

    Joined:
    May 30, 2007
    Messages:
    8,558 (3.29/day)
    Thanks Received:
    1,911
    Can someone explain this to me please?
    I left task manager open so that as soon as the game crashes I'd be able to see what was going on.

    So, the game would be running fine. Approximately where the RAM starts going up I'd get textures not loading (purple stuff). Then the crash and RAM obviously goes down abruptly.

    (The game is Skyrim)

    [​IMG]
  2. Gzero New Member

    Joined:
    Mar 16, 2005
    Messages:
    718 (0.21/day)
    Thanks Received:
    52
    Location:
    Scotland
    I don't believe so, a memory leak would crash the game with bad reference or other programs would crash whilst the game was running and you would see your HDD thrash if the memory leak was huge. More likely Skyrim is hitting a loading error hence the purple textures.
  3. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,319 (6.34/day)
    Thanks Received:
    3,344
    Location:
    IA, USA
    It looks like Skyrim was only using about 1 GiB of RAM which is typical. Hook Process Monitor on to Skyrim. If the memory amount climbs and climbs and climbs until it crashes, that indicates it has a leak (it isn't freeing up memory as it should).

    I've only had one crash on Skyrim so far so as of 1.03, I don't think there is a problem.
    Velvet Wafer and Black Panther say thanks.
    Crunching for Team TPU
  4. Black Panther

    Black Panther Senior Moderator™ Staff Member

    Joined:
    May 30, 2007
    Messages:
    8,558 (3.29/day)
    Thanks Received:
    1,911
    Great program Ford, I don't know how I missed it!
  5. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,319 (6.34/day)
    Thanks Received:
    3,344
    Location:
    IA, USA
    Probably because it's the same name as Sysinternal's popular program...oops.
    Crunching for Team TPU
  6. Black Panther

    Black Panther Senior Moderator™ Staff Member

    Joined:
    May 30, 2007
    Messages:
    8,558 (3.29/day)
    Thanks Received:
    1,911
    I'll leave it running and post a screenshot of when I get a crash to desktop.

    So far (but this was without getting a crash) memory went up to 1.13GB, handles were max 437, average cpu usage was 65%, maximum cpu usage 98%.

    But Skyrim is a weird game, I'm running it vanilla without mods to see the cause of crash to desktop. Sometimes it goes for 4 hours without one crash. Then other times it crashes every 15 minutes on me...

    As Murphy's law wants, now that I want it to crash (lol) to report the cpu/ram usage here... it won't crash... :laugh:
  7. Black Panther

    Black Panther Senior Moderator™ Staff Member

    Joined:
    May 30, 2007
    Messages:
    8,558 (3.29/day)
    Thanks Received:
    1,911
    OK here is the first crash to desktop, this time 32 minutes after starting the game:

    [​IMG]

    It's curious how cpu usage started fluctuating madly high just before the crash.. Though I didn't get any purple or missing textures this time.
  8. ShiBDiB

    ShiBDiB

    Joined:
    Jul 21, 2008
    Messages:
    4,063 (1.86/day)
    Thanks Received:
    754
    Location:
    Clifton Park, NY
    Doesnt look memory related to me. But the CPU seems to be unable to handle whatever got thrown at it.
  9. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,319 (6.34/day)
    Thanks Received:
    3,344
    Location:
    IA, USA
    It might be running out of memory. It isn't climbing very fast but it is climbing. You can see where it released some resources before starting debugging. Have you made Skyrim Large Address Aware?
    Crunching for Team TPU
  10. ShiBDiB

    ShiBDiB

    Joined:
    Jul 21, 2008
    Messages:
    4,063 (1.86/day)
    Thanks Received:
    754
    Location:
    Clifton Park, NY
    Huh?

    The memory line doesnt move.. at all
  11. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,319 (6.34/day)
    Thanks Received:
    3,344
    Location:
    IA, USA
    Red line marks the value at the start:
    [​IMG]

    It goes up, not by much, but could be enough to crash.
    Crunching for Team TPU

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page