On Mon, 26 Nov 2001 13:06:17 +1100
Edwin Groothuis <[EMAIL PROTECTED]> wrote:

> On Sun, Nov 25, 2001 at 06:45:20PM -0700, Dale Kingston wrote:
> > if you have MSL defined at 16384, can that cause problems?
> 
> Most likely not.
> MSL (and MIL) are just numbers which are hopefully big
> enough to prevent buffer-overflows on your strings.
> 
Actually, (and this one's from experience), if MSL is too large, it can up your 
mem usage on the system you're running it on.
That, in and of itself can cause rather chaotic problems, if you're running 
things from the generic home pc, or if the server admin doesn't know a thing 
about what he/she's doing.

My suggestion: Get rid of MSL completely **ducks**
How, you might ask?? Well, the best way I've found to do so is using a 
completely different memory handling code.  You can find a copy of it here:
http://drealms.kyndig.com/snippets </shameless plug>
I'll say that I didn't write it, just found it browsing around, but it's 
improved the mem usage for DR quite a bit since I've used it, so I put a copy 
of it up for public usage.

What this will do is expand your strings as needed in the mud, preventing quite 
a few problems (One thing I found that this did was eliminate the asave world 
bug that I've run across, and I'm sure quite a few have as well).

Hope this helps, if not, well, hey, I tried:)



Reply via email to