PDA

View Full Version : Testing/bugsquishing


Nelthath
07-21-2008, 11:50 PM
As many of you know, AoC isn't without it's share of bugs. Some are worse than others, but the two main ones I'm trying to pin down now are the following:


The infamous Out Of Memory-crash
The annoying gray map-bug


Now, there's a rumor on the official boards that when Graymap occurs, you can go into your interface options and disable/enable questmarkers for the map. This supposedly loads the map-images anew. Have so far yet to stay ingame long enough to actually test this since I crash on average every 15 to 20 minutes, depending on zone (Tarantia = 5 min then CTD).

On the OOM-crash-issue there is little solid evidence and is a tad more technical in nature. It seems to be caused by the computer running out of virtual address space, which (on 32bit XP and Vista) is the memory-tables below 2048mb RAM reserved for programs etc. The main issue with this theory is that during the testing today, I was logging all memory usage. And never did AoC use MORE than between 1.4 and 1.5gb RAM, which, even if including system services and other backgroups programs, did not go above the 2gb limit for applications. Also did a quick comparison with running the game in Windowed-mode, with the same result.

Now then. Enter some small tweaks in the system. First thing I tried was to increase the virtual address space from 2gb to 3gb through a function in Vista called BCDEdit. What this basically does is add an entry into Vista's version of the boot.ini-file you'll find on XP-computers, telling the system that it now had a gig LESS for mapping hardware (normally used in the upper part of the 4gb address space on 32bit comps). Testing proved futile, as the crashes continued much like they did before. Plus the fact that my system became sluggish and unresponsive, and I had failing services all over the place. Quickly abandoned the whole /PAE-issue. Also, cross referencing it with the long post on the official boards, this is also happening to Vista 64Bit-users, as well as both 32bit and 64bit versions of XP.

Then I took a look at some of the ingame settings. First thing that caught my eye was an option where you can set how much RAM the game uses for preloading textures. This can, unless I'm wrong, go up to close to 700mb, which would solidly bring the game up to above 2gb in physical RAM usage.Tried dialing that one back, same result. Didn't get to fiddle more with it, though, but will pull it all the way down to 0 if I can. No idea what type of impact this will have on textures and loading-speed, but it can't be worse than having the game crash every 5 minutes.

Will test more tomorrow, although I am hoping for a small miracle on patchday :(

Valen
07-22-2008, 03:09 AM
I didn't realize you crashed that much Nel, I'm sorry that really sucks. :(

Negs
07-22-2008, 04:03 AM
I feel your pain :)

If you find something out let me know ^_^

Nelthath
07-22-2008, 06:02 AM
Definably will do =) Won't let a few crashes stop me :D

Edit: Just found this little tidbit on the Testlive-forums

Preliminary Update Notes

* Many memory leak fixes were included in this build. <-- I hope this solves the problems I have :/

* The first iteration of the new PvP Consqeuence system was introduced on the Testlive PvP server. As this is just the first inclusion of the system, it is not the complete system yet. Included here are PvP Progression (PvP xp), PvP Notoriety (the basics of the Murder system), and first tier of PvP Armor. *These new PvP changes will NOT be included in the next immediate patch to Live*.

Another Edit: See that ATI has released Catalyst 8.7 today. Will install it and see if that has any impact on the crashing-issues/OOM-bug at all, plus the GrayMap-bug.

Aameul
07-22-2008, 01:46 PM
The OOM bug is probably tied to a bug with AoC's deallocation of memory. Every time the AoC executable is run, it allocates almost 600 MB of pagefile memory that does not get freed when you exit the game. On XP it's really easy to notice... go into the task manager performance tab and look at the "PF usage" graph. After a fresh reboot my PF usage is ~500 MB on my home PC. When I exit AoC, it will be up as high as 1.5 GB, but eventually falls... down to ~1GB. The only way to free up that pagefile memory is to reboot the PC. If I reenter AoC without rebooting, my performance is significantly worse that before. Reentering AoC a third time wihtout a reboot is almost impossible.

Nelthath
07-22-2008, 01:58 PM
Hmm, going to check this one. From what I've been able to tell, I haven't had any issues with this on Vista (which is the OS on my gamebox). There has been reports from people that clearing their pagefile has been a helper in stopping the crashes, although I haven't yet found any indication as to why.

Cespenar
07-22-2008, 03:05 PM
I read on the AoC tech forums that some crashes were related to the type of video card you have. The game was designed around NVidia & it seems that there's a higher incident of problems for those using an ATI or other chipset manufacturers.

Of course I have an ATI card, :P.

Nelthath
07-22-2008, 10:26 PM
Been doing a bit of testing tonight with the new Catalyst 8.7-drivers, and things are looking a BIT better. Meaning that I didn't crash as often as I used to, but it's not better by much. Apparently the patch tomorrow will address more memleaks, so all I can really do is hope that it becomes better.

No progress to report on the Graymap-bug either.