This happens on versions 2.2 and 3.4... Very consistently, mudlet crashes after running for a few hours, but with certain symptoms leading up to it. First the screen just goes a blank black, but highlighting or moving the window or splitting/unsplitting the screen fixes it. Some time after that, the screen will just freeze in place with nothing new appearing. But if I split the screen by scrolling up a little, it works for a bit, buying me enough time to logout usually. Then shortly after that, it just completely freezes.
I've noticed it happens a lot faster if I'm astral hunting or doing other very spammy things.
Some have suggested it might be memory... but my pc has 16gb memory and it's never anywhere close to full, so I'm a bit skeptical that it's that...
Does anyone know what could cause this or how I might make mudlet more stable?
0
Comments
16gb of memory on your computer is great and all, but that doesn't mean that every program that's running has access to all that memory goodness. 32-bit programs especially have a very strict memory cap. At work, when doing some things that required a huge amount of memory I had to switch to the 64-bit program to keep it from crashing. Also, any number of games I've had to install "workarounds" to get past memory caps way below my computer's threshold. So don't discount memory issues out-of-hand, what your computer has available is not necessarily what the program itself has to work with.
Can you set your buffer size? What is it set to now, if so, and what happens if you drastically reduce it? I tend towards thinking in the buffer direction since you mention that doing things that spam a lot of text exacerbates the problem, but that is pretty much a shot in the dark.
Do you have a tabbed chat or lots of miniconsoles in your GUI? When I've been logged in for ages and my chat consoles are really long, and I've been logging the entire time, I see some performance issues from time to time. It's nothing a quick restart doesn't solve for me, thankfully. I try not to run Mudlet like a 24/7 server and that works for me too. Mudlet crashing means an unsaved profile, so I try to close on my own terms.
Another question: Do you do lots of your own scripting? Are you familiar with things like using local variables or assigning your unused variables to nil so lua can do better garbage collecting?
Good luck finding a solution, sounds frustrating!
I use demonnic/yatco-23 tabbed chat. But, I also don't run mudlet that long (Well, right now I am to see if I can try Ejderha's idea). In a big astral hunt, the freeze can be less than 2 hours from having started mudlet.
I wouldn't really say 'lots'... although I do feel like I have a lot of scripts, but it's mostly other peoples' stuff. mmf, various windmills... demonnic as mentioned. I do have lots and lots of aliases. But I'm not familiar with that stuff.
It usually happens to me after a few days, and I cycle my log every 5 hours.