|
Post by Frumple on Jan 2, 2008 0:44:38 GMT -5
XP OS, fairly crappy, but functional, as far as system goes.
What's happening is some rather crazy amounts of Memory Usage being reported via Task Manager -- it eats up ~30 megs, which is about right for loading (One of the .2 betas uses ~70 during the running of the game), up untill it starts initializing towns, at which point it shoots up to a whopping 210+ meg usage before completing the loading, and then rises another 60 or so during gameplay. This might not be that bad for some of the newer machines, but that's dangerously close to causing my poor clunker to completely crash.
Basically, is this normal, or is something really screwy going on?
As a minor aside, the Marksmen class displays as Archer on the high-score list. Score one for minor typo, heh.
|
|
|
Post by argyle2001 on Jan 2, 2008 0:56:47 GMT -5
Actually, mine was eating 100+ at one point.
|
|
|
Post by Variaz on Jan 2, 2008 1:04:25 GMT -5
Wow, I never noticed the memory usage was THAT big! It rose to like 216 meg during the initialization... I don't think it used to consume that much. hmmm... strange.
|
|
|
Post by Variaz on Jan 3, 2008 15:07:47 GMT -5
In the /edit directory of the libraries, open the misc.txt file. You can reduce the number of towns from 600 to 301(it uses up to town 300), and that will make a noticeable difference. However, I looked at that issue, and I do not believe we really need a max number of preloaded towns anymore, since it loads the files directly from the libraries. This old code ia eating up RAM, so it's something that can be improved in the next release.
|
|
|
Post by Variaz on Jan 5, 2008 22:58:06 GMT -5
Wow, you set the towns array to 1, and the memory usage goes down to around 30 mb instead of 200. I've checked the code, and the town array definition is actually ALMOST useless...save that it's what defines what's available in shops. And changing that means playing with the stores code, and that's not easy. Not something for the 0.3 release. For now, all I can suggest is to edit the misc.txt file in the "edit" directory, and lower the towns to 301. That will make things a little better. Until the stores code is rewritten, there's not much else we can do at the moment. I'll take on the stores code on the next version though.
|
|