Anyone who met the mushclient consume memory continuously? I open 8 worlds and 2 dummy worlds in mushclient under server2003, after 3-4 days, the memory used by mushclient will be 400M+ and continuously increasing.
memory increase continuously in server 2003
Posted by Unia_nt on Fri 11 Mar 2016 09:41 AM — 9 posts, 31,635 views.
Could it be your plugins? Throw a memory usage check function into each of your plugins and then call it when this happens again.
I thought it's not caused by my script...I run garbage collection every 1 hour.
An obviously phenomenon is when I minimize the mushclient window, the memory consumption showed dramatically decreased from several hundreds M to 10+ M, and then increase fast again. So every 5 days, I had to close and restart my mushclient.
An obviously phenomenon is when I minimize the mushclient window, the memory consumption showed dramatically decreased from several hundreds M to 10+ M, and then increase fast again. So every 5 days, I had to close and restart my mushclient.
1) Garbage collection runs on its own automatically.
2) Forcing garbage collection doesn't actually mean that a plugin isn't expanding. what does collectgarbage("count") return for each of them?
2) Forcing garbage collection doesn't actually mean that a plugin isn't expanding. what does collectgarbage("count") return for each of them?
Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.
If a script allocates memory (eg. makes a miniwindow) and then doesn't de-allocate it, that can stay around forever.
You could try this:
See if there are more miniwindows (or something) than you expect.
You could try this:
Please provide a summary of your world configuration:
- Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")
or
- Install the Summary plugin (see "Summary" feature) and type "summary"
Then copy the resulting information from the output window, and paste into a Forum message.
You need version 4.55 onwards of MUSHclient to do this.
See if there are more miniwindows (or something) than you expect.
Thanks Nick and Fiendish for your comments!
If there are no other guys met similar things,that should be my own problems.
I will try to debug this problem by myself first to observe the memory usage of all worlds and each plugin.If still no observation, I will post the Debug("summary") to this forum.
By the way, I don't use mini window, but one dummy world to print info., another dummy world for chat info., and 3 small plugins.
If there are no other guys met similar things,that should be my own problems.
I will try to debug this problem by myself first to observe the memory usage of all worlds and each plugin.If still no observation, I will post the Debug("summary") to this forum.
By the way, I don't use mini window, but one dummy world to print info., another dummy world for chat info., and 3 small plugins.
Please state which version of MUSHclient you are using.
I am using version 4.95