Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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.
Entire forum
➜ MUSHclient
➜ Bug reports
➜ Reload of script?
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Faux
United Kingdom (77 posts) Bio
|
Date
| Sat 05 Feb 2005 11:40 PM (UTC) |
Message
| I believe that that when mush reloads scripts from the:
---------------------------
MUSHclient
---------------------------
The script file "C:\mush\scripts\exampscript.lua" has been modified. Do you wish to re-process it?
---------------------------
Yes No
---------------------------
prompt, that it fails to clean up properly (sometimes resulting in crashes).
This is just a guess.. any other ideas why it might be eating memory/eventually crashing? It happens (more slowly, but still) when I'm using trivial scripting files, as well as when I'm using luacom/luadb/wxlua/..
Mush 3.65, Winxpsp2, using Lua scripting.
|
Faux, from Discworld. Feel free to come talk to me =)
http://faux.servebeer.com/ | Top |
|
Posted by
| Nick Gammon
Australia (23,070 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 12 Feb 2005 11:05 PM (UTC) |
Message
| It should clean up properly, but I'll look into it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Shadowfyr
USA (1,788 posts) Bio
|
Date
| Reply #2 on Sun 13 Feb 2005 06:43 PM (UTC) |
Message
| Should maybe, but doesn't. Had the same issue with external objects, where things like my fireworks gadget or the Winamp activeX control where never released with a reload. The reload just resulted in a new copy being made, but the old copy stayed in memory. Same with reloading plugins or even removing them and re-adding them. This is most obvious with the fireworks plugin/gadget, since it 'should' close when the control is dropped. Yet it stays in memory, so obviously its not being released. | Top |
|
Posted by
| Prattler
Lithuania (15 posts) Bio
|
Date
| Reply #3 on Mon 18 Apr 2005 04:30 PM (UTC) |
Message
| Same memory problem here... :( | Top |
|
Posted by
| Nick Gammon
Australia (23,070 posts) Bio
Forum Administrator |
Date
| Reply #4 on Mon 18 Apr 2005 09:40 PM (UTC) |
Message
| My tests seem to indicate that the reload function indeed calls the script engine's "close" function, which should release internal script objects. Whether the script engine does that properly or not would be a separate issue.
Also it is possible that scripts that do fancy things (eg. load ActiveX controls) may not clean them up properly when the script is reloaded. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
19,390 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top