On Tue, 27 Nov 2001 22:18:31 -0500 "Big Red" <[EMAIL PROTECTED]> wrote:
> Anyone know how to increase the mud's resistance to memory crashes? I'm > pretty inexperienced when it comes to memory configuration and allocation... > like, when a list of information too large occurs at once, like someone > leveling 200 times at once, or if an attack hits too many times (Like > earthquake, I like to test alot, heh) and color is not disabled, people are > booted from the mud.. I would prefer that not to happen, obviously. Also, > to be able to disable people crashing the mud via spamming large lists of > info like note list or such would be JUST KEEN! Can anyone help? > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom There's a few things that you can do here: A> take a look at how memory's handled, maybe use page_to_char rather than send in stuff like alist and all (which will cause the mud to crash if the area list is too large) B> check out either: A> Upping max_string (in db.c) or B> doing away with it altogether: You can find a bit of code for this @ http://drealms.kyndig.com/snippets. I suggest as well that you take a look at the bug reports and all from there, because some of those deal with some memory issues. C> Go through recycle.c and in recycle_pcdata , go through and make sure that eveything's in there that should be (pwd, name, title, blah blah blah blah blah.. You'll have to go through this one yourself).. That should free up a bit of your memory as well. All decent suggestions, hopefully they helped.

