Ultimate Online Forums
Go Back   Ultimate Online Forums > Ultima Online > Ultima Online Misc Forums > News & Developer's posts

News & Developer's posts Here you'll find the latest updates for UO and posts by EA/UO reps from Stratics

News & Developer's posts Thread, Jeremy & Devs - Just How Much Memory Will KR Eat Up? Please Look at this. in Ultima Online Misc Forums
 
Thread Tools
Old 25th September 2007, 04:42 AM   #1
Administrator
 
Tabbitha's Avatar
 
Join Date: Mar 2006
Shard: Europa/Snowbourn
Posts: 5,543
Blog Entries: 3
Thanks: 88
Thanked 76 Times in 34 Posts
Tabbitha The EstimableTabbitha The EstimableTabbitha The EstimableTabbitha The EstimableTabbitha The EstimableTabbitha The EstimableTabbitha The EstimableTabbitha The EstimableTabbitha The EstimableTabbitha The EstimableTabbitha The Estimable
Jeremy & Devs - Just How Much Memory Will KR Eat Up? Please Look at this.

[Found some interesting info here ,that may help some folk.myself included..tabby ]


source

Ok, I couldn't help but notice, as I can now play KR with a machine well capable of running it, that the Memory Usage, according to Task Manager Processes info, seems to climb endlessly the longer you run the client. The following pics show the Memory used from logging in to KR and simply running around the place and recalling into a couple of dungeons, Heartwood, Ilshenar Oakes spawn etc. I wasn't fighting anything, just taking screenies every few minutes. These were taken over approximately 25 minutes in the Client...at which point it was running fairly choppily and an increase in lag was noticable.






From top to bottom they show:
1. Select Server Window
2. Character Logged into Game
3. Recall to Luna, ran once around the square
4. Recall to Despise, ran through a couple of levels.
5. Recall to Destard, ran around in there for a few minutes.
6. Recall to Heartwood, ran completely through the place.
7. Recall to Ilshenar Oakes Spawn, via Luna Moongate, ran to Altar area.
8. Recall to Britain, a few Friends' houses then to my house and logged.

So nothing fancy there, but that Memory kept spiralling upwards. And what was even more surprizing was that after I logged the character, but had not quit the client, I got this reading from Task manager:
And Task Manager stayed that way until I finally quit the client 5 minutes or so later.
During this test, I tried various Game settings, system messages off and on, shadows , particles etc...didn't make any difference really.

So, is that a Memory leak or what? Now I'm no expert, but I think so, in a big way.

Anyone care to comment and explain why I'm getting those numbers?



FYI, here's my system specs, which is fairly high-end for running games like this, tho I think they'd need to be if memory usage like this is the norm for everyone running KR.
Motherboard: Gigabyte N680SLI-DQ6
CPU: Intel Core 2 Duo E6850 3.0 GHz
Graphics: Gigabyte GeForce 8800 GTS 640Mb
Memory: Corsair Dominator DDR2 Twin2X2048-8500C5DF 1066MHz 2Gb Kit.
Hard Drive: Seagate Barracuda 7200.10 320Gb SATA II
Audio: Realtek HD Audio
Monitor: BENQ FP222W 22" Widescreen
Operating System: Windows XP Professional- Service Pack 2 (Build 2600)
Direct X: 9.0c
All Drivers and BIOS updated to latest available.


~~~~~~~~~~~~~~~~~~~~~~

I see pretty much the same thing.

Quote:
And what was even more surprizing was that after I logged the character, but had not quit the client, I got this reading from Task manager:


Now this is what bothers me the most. I like to have KR up and running when I am editing the UI, so that I can load/re-load to see what changes look like, alignment, etc... . I have found if I drop to the log-in screen, that my entire system bogs down to almost a standstill. As soon as I either quit KR or go back into the game, the extreme sluggishness goes away.

Anyway, considering I don't know a thing about code and code architecture, I won't even attempt a diagnosis, but I can/will report the symptoms.


~~~~~~~~~~~~~~~~~~~~~~

Increase your "Minimum free system memory" option in KR - that should decrease the lag you experience (hopefully).
KR is built to take as much memory as it can - it will cache stuff and keep it cached until you quit, only releasing if it needs more memory but can't get that memory without releasing some of it's existing cache.

If you notice memory go up like that when doing the same thing over and over again, then it's likely unintentional and something that should be specifically reported (like the problem 2d had with closing and openning the options menu) - otherwise, it's just KR being overly greedy.

KR being that greedy does cause issues in some situations though, especially if it starts using virtual memory for frequently occuring stuff. I'd like an option to tell KR that if it doesn't use a mob animation/texture/etc for X minutes, it should release that cache, or something similar for situations when I'm not staying in one area for long periods of time.


~~~~~~~~~~~~~~~~~~~~~~

yup, and when it hits the limit of my RAM my pc crashes.

although fyi, 2D eats memory if left at the log in screen, and shoves the cpu temperature up to an alarming degree. The golden rule in our house is 'NEVER leave uo sitting at login. Either quit or log the next char in immediately'


~~~~~~~~~~~~~~~~~~~~~~

Exactly!! The fact that I have a heap of available ram is fine for me, but there's a lot out there that don't and a good percentage of them experience crashes after running KR for any length of time over a few minutes.

While it's ok to say KR will use whatever ram it can to load certain areas and such, once you leave one place, say Luna, and go elsewhere, say a Champ spawn, it should be dumping the cached memory from Luna and not simply sucking more and more out of the system, until eventually, you run out of ram and virtual memory and the game, or your system, crashes.

I don't get anything like these Memory Usage numbers running Oblivion, which is hugely graphic intensive. I've never seen it over 200meg. Even 3D Mark06, which is designed to totally stress systems and it does, maxes out at 336meg, nothing like the memory that KR wants just to run around for a while.
Seems to me there has to be something significant wrong with KR here that needs to be addressed and fixed.


~~~~~~~~~~~~~~~~~~~~~~

Quote:
KR is built to take as much memory as it can - it will cache stuff and keep it cached until you quit, only releasing if it needs more memory but can't get that memory without releasing some of it's existing cache.

If that is how it works it is a terrible design. Once you run out of memory, if Windows or another program needs any then the page file starts getting used. The page file sits on the hard drive, which is many multiples slower than RAM is.

~~~~~~~~~~~~~~~~~~~~~~

I would love to hear if the latest patch made this somewhat better, because the mouse cursor was eating windows resources and never releasing them - the last KR patch should have fixed that.


E. Jeremy Dalberg
UO Community Coordinator
EA Mythic


~~~~~~~~~~~~~~~~~~~~~~

So feedback please from all those people that have /are having problems
__________________




Last edited by Tabbitha; 25th September 2007 at 04:43 AM.
Tabbitha is online now   Return to Top Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I upgraded my ram memory... Gnomy Jokes & Stuff 4 27th February 2008 11:17 AM
Draconi, Jeremy, Any Devs at all - How's Your Memory?? Tabbitha News & Developer's posts 4 18th October 2007 01:52 PM
A Memory of Damnation Adammair Walker Fireside Table 0 8th March 2007 12:51 PM
Virtual Memory Ally General Discussion 16 28th January 2007 01:53 AM
Jeremy/Devs, When Will the Lock-down Issues for Doom Items Be Corrected? Tabbitha News & Developer's posts 0 25th January 2007 02:12 AM


All times are GMT -6. The time now is 10:03 PM.


Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Template-Modifications by TMS