Results 1 to 30 of 33

Thread: New Memory Leak Thread for 1.5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default New Memory Leak Thread for 1.5

    Well, the memory leak is back. Had the *exact* same symptoms after a long session. The good news is that it seems to take longer before the leak becomes problematic. Any one else seen it yet? Looks like CA found *a* problem and fixed it, but didn't find all the problems.

    I noticed it after coming back to a session after dinner. It was mild at first, but got progressively worse. Was sucking up over 270 MB when I got out. Same routine as before.
    Rome Total War, it's not a game, it's a do-it-yourself project.

  2. #2
    Senior Member Senior Member Jambo's Avatar
    Join Date
    Jul 2002
    Location
    Athens of the North, Scotland
    Posts
    712

    Default Re: New Memory Leak Thread for 1.5

    I guess not, but then I have 1.5 GB RAM so I suppose I'm unlikely to notice any memory problems?
    =MizuDoc Otomo=

  3. #3

    Default Re: New Memory Leak Thread for 1.5

    Quote Originally Posted by Jambo
    I guess not, but then I have 1.5 GB RAM so I suppose I'm unlikely to notice any memory problems?

    Last time it seemed to affect people with 512mb of ram the most,
    so i supose it would take 3x as long for you to relize if it really was a memory leak,
    however most "if not all" with more than 512mb of ram never sufferd.
    so it cant be a real memory leak or every 1 would notice after a given time period,

    I.e
    it Takes 120 mins to leak 256mb of ram After that system needs more ram so leeks at a faster rate,
    so logic dictates that after 240 mins Of a real memory leak 1gb of ram would have been leaked,
    And 360 mins would = 2.5gb + And could result in a system crash
    This never happend,

    A EXE leaking memory Has no real idea of your amount of ram, So it would not single out 512mb Systems.
    So take from that what you will.
    Last edited by Just A Girl; 12-16-2005 at 10:43.

  4. #4
    Member Member Tyrac's Avatar
    Join Date
    Jan 2003
    Location
    Boston, USA
    Posts
    245

    Default Re: New Memory Leak Thread for 1.5

    It is odd. I have only 768 ram yet have never had this happen that I can tell and I often run the game all day and well into the night playing and leaving and coming back etc. <shrug>
    "Enough talk!"
    -Conan the Destroyer

  5. #5
    Urwendur Ûrîbêl Senior Member Mouzafphaerre's Avatar
    Join Date
    Nov 2003
    Location
    Mikligarðr
    Posts
    6,899

    Default Re: New Memory Leak Thread for 1.5

    .
    768 > 512
    .
    Ja mata Tosa Inu-sama, Hore Tore, Adrian II, Sigurd, Fragony

    Mouzafphaerre is known elsewhere as Urwendil/Urwendur/Kibilturg...
    .

  6. #6
    Actual Person Member Paul Peru's Avatar
    Join Date
    Sep 2004
    Location
    Yurp
    Posts
    529

    Default Re: New Memory Leak Thread for 1.5

    Quote Originally Posted by Mouzafphaerre
    .
    768 > 512
    .
    How true that is!

    anyway, I just took it for granted that the leak was taken away, but I'll post my findings here later.

    Its a bit lame/sad if it's still there whan they said it wasn't...
    Sono Pazzi Questi Romani
    Paul Peru: Holier than thy bucket!

  7. #7

    Default Re: New Memory Leak Thread for 1.5

    I have a 512 MB system, and I would get severe slowdowns in RTW v1.3 after playing for a couple of hours. I don't get those slowdowns under RTW v1.5. With RTW v1.5, the RomeTW.exe uses about 250 MB of physical RAM and about 300 MB of virtual RAM. This leaves me with about 50 MB of physical RAM free. I have seen the RomeTW.exe grow to 300 MB when there was more physical RAM available. I haven't seen my total virtual memory use go over 600 MB while running RTW v1.5. Under RTW v1.3, my virtual memory use would be up around 750 MB when the slowdown was occuring.

    _________Designed to match Original STW gameplay.


    Beta 8 + Beta 8.1 patch + New Maps + Sound add-on + Castles 2

  8. #8
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default Re: New Memory Leak Thread for 1.5

    Quote Originally Posted by Just A Girl
    Last time it seemed to affect people with 512mb of ram the most,
    so i supose it would take 3x as long for you to relize if it really was a memory leak,
    That reasoning has a big flaw. With zero leak a 512 MB system is using a great deal of the available physical memory to run the game, whereas a 768 or 1 GB machine is not. Assuming about 300 MB use normally yields about 200 MB differential for a 512 MB system, and 1200 MB for a 1.5 GB system. On that basis it would take 6 times as long to see the same effect. If the differential is ~100 MB it would take 11 times as long to see the same effect.

    however most "if not all" with more than 512mb of ram never sufferd.
    so it cant be a real memory leak or every 1 would notice after a given time period,
    Perhaps you didn't notice, but CA *admitted* there was a memory leak in 1.3. That pretty much destroys the "there was no memory leak argument."

    Regardless, I would wager that you have it backwards. Most suffered from it and it wasn't limited to ATi or NVidia cards, it "crossed party lines." I was skeptical of it until I saw it myself several times. I usually ignore "memory leak" threads as poorly configured systems, but RTW 1.3 was different. I didn't hear that many with 512 MB say they didn't have the leak. And of those who didn't several said they tweaked windows settings to get it to go way--meaning they also had the leak. Those who don't get to play extended sessions probably won't see the leak. I've never seein it happen form a one hour session. And before you go on about machine stability, this box has been completely stable. Since I'm able to recover the memory on the fly and relaunch, it is the app that is at fault.

    A EXE leaking memory Has no real idea of your amount of ram, So it would not single out 512mb Systems.
    So take from that what you will.
    Which is what exactly? If you have a leak it is going to show up in the systems with the fewest resources first.
    Last edited by Red Harvest; 12-16-2005 at 17:08.
    Rome Total War, it's not a game, it's a do-it-yourself project.

  9. #9
    Chief Biscuit Monitor Member professorspatula's Avatar
    Join Date
    Oct 2004
    Location
    Inside a shoe.
    Posts
    1,158

    Default Re: New Memory Leak Thread for 1.5

    I was going to post about the memory leak last night - but once again, refrained from mentioning it, but you did anyway. Seems I'm not alone in noticing it then. I had RTW playing for about 4-5 hours last night. I was only playing for a couple of those hours, the rest of the time I was elsewhere. When I returned to the game and engaged in a battle, I noticed towards the end of the battle the game would pause briefly to access the harddisk - then it paused for about 15 seconds just trying to leave the battle. The memory leak was definitely back. Upon closing the game down, I noticed 120,000K of memory was being used and it took about 1-2 minutes before the memory was released. The memory leak was less perhaps than before, but still there.

    Something else CA haven't fixed in their latest wondrous patch then. I really love whoever does their QA passing. I'm want to invite them round to Christmas dinner and then perhaps thump them.
    Improving the TW Series one step at a time:

    BI Extra Hordes & Unlocked Factions Mod: Available here.

  10. #10

    Default Re: New Memory Leak Thread for 1.5

    Quote Originally Posted by Red Harvest
    I noticed it after coming back to a session after dinner. It was mild at first, but got progressively worse. Was sucking up over 270 MB when I got out. Same routine as before.
    Windows manages how much physical memory is allocated to an application, so it can change while the program is running. It appears that RTW uses about 600 MB of total memory: physical + virtual. It's possible that some other applications were swapped into virtual memory and RTW was allocated more physical memory. RTW may well use somewhat less memory when its first started than later on when more features have been accessed such as battles. If there is a memory leak, the total memory used by the application would continue to increase.

    After I start RTW, I have 50 MB of physical memory free, 250 MB for RTW + 200 MB for all the other stuff I have running. I ran RTW for over 24 hours and I didn't get any slowdowns. I wasn't playing continuously, and RTW was minimized over most of that time, but I did play several turns just before quitting the game, and didn't observe any slowdown except portions of the map scrolling were slow until Windows swapped the entire map from virtual memory back into physical memory. The program wasn't using more than 600 MB of total memory when I finally quit.

    _________Designed to match Original STW gameplay.


    Beta 8 + Beta 8.1 patch + New Maps + Sound add-on + Castles 2

  11. #11
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default Re: New Memory Leak Thread for 1.5

    Quote Originally Posted by Puzz3D
    Windows manages how much physical memory is allocated to an application, so it can change while the program is running. It appears that RTW uses about 600 MB of total memory: physical + virtual. It's possible that some other applications were swapped into virtual memory and RTW was allocated more physical memory. RTW may well use somewhat less memory when its first started than later on when more features have been accessed such as battles. If there is a memory leak, the total memory used by the application would continue to increase.

    After I start RTW, I have 50 MB of physical memory free, 250 MB for RTW + 200 MB for all the other stuff I have running. I ran RTW for over 24 hours and I didn't get any slowdowns. I wasn't playing continuously, and RTW was minimized over most of that time, but I did play several turns just before quitting the game, and didn't observe any slowdown except portions of the map scrolling were slow until Windows swapped the entire map from virtual memory back into physical memory. The program wasn't using more than 600 MB of total memory when I finally quit.
    That map scrolling problem lag often the first visible symptom. After that I notice battles slowing down (sieges suffer the worst.) Whichever I notice first (campaign or battle lag), map scrolling is always a problem after the onset of symptoms--ditto for battle. It isn't constant either, it gets progressively worse the longer I play like that. When the map scrolling is a problem I can see the disk activity as I attempt to scroll across the map. I don't know what RTW is doing with the memory, but it is clear that it is no longer finding sufficient memory to run without constantly swapping back and forth to disk. That is an order of magnitude slower.

    Battle load times and exit times also increase several fold (and get worse) as this occurs--and they continue to get progressively worse. It really acts like it only has a small portion of the physical RAM (and/or bandwidth) left available for actually running the active portions of the game at the time. If you've ever done troubleshooting on an integrated graphics PC at work that has too little memory (128 MB with Office apps in XP for instance) then you will easily recognize the behaviour. With such systems, adding a stick of memory helps alot...but the bandwidth is still restricted by the crappy integrated chipset, so while the horrible lag is removed, the system still lacks "snap" compard to non-integrated chipsets.

    P.S. I don't know what minimizing would do. I never minimize the game.
    Rome Total War, it's not a game, it's a do-it-yourself project.

  12. #12
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default Re: New Memory Leak Thread for 1.5

    professerspatula,

    I agree with much of that.

    The other aspect that CA should be paying attention to is that adding memory merely masks the problem. The problem is still there and indicates errors in the base code that are accumulating. If it started with lag, and stayed the same, then I wouldn't be calling it a leak. It is the progressive nature of the problem that points to application flaws.

    (If I had to shut down Excel every few hours because it got progressively slower, then I would know there was a problem with Excel. Ditto for IE, word, or any other app.)
    Rome Total War, it's not a game, it's a do-it-yourself project.

  13. #13

    Default Re: New Memory Leak Thread for 1.5

    Red Harvest,

    I forgot which operating system you are running. I use WinXP Professional + SP2. Probably on Saturday I can play a long continuous session and see what happens.

    _________Designed to match Original STW gameplay.


    Beta 8 + Beta 8.1 patch + New Maps + Sound add-on + Castles 2

  14. #14
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default Re: New Memory Leak Thread for 1.5

    I'm running XP Home SP2. The "footprint" I see for the OS is about the same as you.
    Rome Total War, it's not a game, it's a do-it-yourself project.

  15. #15

    Default Re: New Memory Leak Thread for 1.5

    Quote Originally Posted by Red Harvest
    I noticed it after coming back to a session after dinner. It was mild at first, but got progressively worse. Was sucking up over 270 MB when I got out. Same routine as before.
    I'm not trying to belittle your complaint as I hate badly optimised games but 270mb is NOTHING these days. Compare RTW to the system-cripplers known as Civ IV and X3 and you'll realise what a modest amount 270mb is. If an application taking up that amount of RAM is more than your system can handle, it really is time to get another 512mb....it's like $30 these days.

  16. #16
    Alienated Senior Member Member Red Harvest's Avatar
    Join Date
    Jan 2003
    Location
    Searching for the ORG's lost honor
    Posts
    4,657

    Default Re: New Memory Leak Thread for 1.5

    Quote Originally Posted by GFX707
    I'm not trying to belittle your complaint as I hate badly optimised games but 270mb is NOTHING these days. Compare RTW to the system-cripplers known as Civ IV and X3 and you'll realise what a modest amount 270mb is. If an application taking up that amount of RAM is more than your system can handle, it really is time to get another 512mb....it's like $30 these days.
    Clarification: that 270 MB is what the app is still using *when it is closed*. It is the source of all that disk activity. During the game RTW uses more and more virtual memory. Then it starts swapping back and forth to disk for longer stretches during the game. After taking ~45 seconds to shut down, and about another 20 seconds to get taskmanager to open, RTW's exe is still claiming that big chunk...and windows is trying to reclaim it. This leads to several minutes of solid disk activity where the amount of memory allocated actually GROWS (up to north of 330 MB at times) before declining and eventaully disappearing.
    Rome Total War, it's not a game, it's a do-it-yourself project.

  17. #17
    Chief Biscuit Monitor Member professorspatula's Avatar
    Join Date
    Oct 2004
    Location
    Inside a shoe.
    Posts
    1,158

    Default Re: New Memory Leak Thread for 1.5

    RTW v1.0/1.1/1.2 = No such memory leak. Game runs fine. Everyone's happy (because they've forgot about the other bugs back then).

    RTW v1.3/1.4 = Memory leak. Game becomes unplayable after x amount of time on the same system as before when there was no memory leak.

    RTW v1.5/1.6 = Memory leak. Game becomes less playable after x amount of time on the same system as before.

    Once more the issue isn't: 'Get more Ram, it's cheap and you'll have nothing to complain about'. It's, 'there's a memory problem which wasn't prevalent in the older versions, but is there now and is a considerable annoyance that hasn't been fixed, despite CA's efforts.' If anything, I'd like to know why the memory leak is occuring when little has really changed in the game's engine. I don't think anyone should expect to just throw more ram into their system and forget about it.
    Improving the TW Series one step at a time:

    BI Extra Hordes & Unlocked Factions Mod: Available here.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO