Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ MUSHClient leaking BADLY

MUSHClient leaking BADLY

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Mon 09 Sep 2002 01:40 PM (UTC)
Message
OK, I had noticed this problem from earlier versions, but never thought of reporting it. MUSHClient is leaking badly. The problem is caused by MUSHClient, no doubt about that. I checked with Resouce meter. The only way to fix it now, is just restart MUSHClient :) It has something to do with lines of input. It's ok with one world open, a bit worse with 2 worlds, and it drains my 16 MB of RAM in 10 minutes with 8 characters open fighting (you know how spammy fights are). The reason why this is obvious to me is because i only have 16 MB of RAM :) I hope you can fix it soon :) My guess would be that MC doesn't clear its lines when they leave the window correctly.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #1 on Mon 09 Sep 2002 05:38 PM (UTC)
Message
Are you sure it's a memory leak? When MUSHclient is initialized, there is nothing stored in the screen's output buffer. As you play, the buffer fills up until it reaches the maximum size dictated in your settings.

With multiple worlds open, this will increase your memory usage dramatically, until you have maxed all the buffers, then it should "peak", and not consume any more memory. Perhaps you don't stick around long enough during testing to monitor this?

To conserve memory, Go into your world options, and select:

Appearance | Output | Number of lines in output buffer:

...and reduce the value stored there. You can set it to the minimum of 200 lines, if you really want to conserve memory.

Also, a similar buffer is the one that stores the commands you have entered in the command box. You can edit the size of that buffer in your world options, here:

Input | Commands | Command History - Keep:

...and reduce the number there as well.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #2 on Mon 09 Sep 2002 07:34 PM (UTC)
Message
What you say does make sense, but i keep lines at 200, and the resources get drained after the windows fill. Also, even when they're full, resources keep diminishing. And, I usually type nothing on the alts, so command buffer doesn't justify it, it should be the same as having 1 char. What i'm trying to say is, the drain is not that immediate...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 10 Sep 2002 05:36 AM (UTC)
Message
I have had reports of this before, and spent quite a bit of time looking into it. Because of the way Windows works, it is hard to say for sure how much memory is used because the amount allocated to MUSHclient seems to decrease over time if you aren't using it (as memory is swapped out to disk).

However I'll have another look. Maybe check your virtual memory settings to make sure you can use a bit more than the 16 Mb of physical RAM.

In recent versions memory is taken for "style runs", which *should* be deallocated as they are no longer required.

What does the "info" configuration tab report?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #4 on Tue 10 Sep 2002 08:27 PM (UTC)
Message
You seem to be right... It doesn't leak now with v3.26. I'm testing it out though, i should run it for an hour or two. Also, i'm not so sure the leak is in the text buffer. Might also be in a trigger (I have a trigger that matches on prompts), so that could be it. Maybe it's color handling, or I don't know what else... I'll test it and keep you posted.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,217 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.