mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2007
Posts: 2
Flaw Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Joined: Aug 2007
Posts: 2
Currently on XP SP2, have mIRC 6.3 with NNS 4.1, and anytime I exit (not minimize to tray) mIRC, it shuts down but mirc.exe stays in memory with around 18mB of resources until I end it.

Anyone know why this would happen? I've tried waiting for it to end, and it does not. I've tried running it on a fresh restart and it still stays in memory. When I shut down my PC with mirc.exe still in memory it always pops up with the waiting for mirc.exe to end dialog.


Stop killing Man. Start killing God.
http://www.l33tsig.net/sig/FlawlesStyle.png
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
Did you try to reproduce this with a clean install of mIRC, no scripts loaded and no DLL's loaded ?

Joined: Aug 2007
Posts: 2
Flaw Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Joined: Aug 2007
Posts: 2
Yup, just did it, and had no problems whatsoever. I guess I should hit up the nns forums :<


Stop killing Man. Start killing God.
http://www.l33tsig.net/sig/FlawlesStyle.png
Joined: Aug 2007
Posts: 21
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Aug 2007
Posts: 21
I encounterd this behavior in 6.3 (XP SP2) whenever I used a certain dll (ac.dll - AMIP client for winamp).
My code was:
on *:START: /dll ac.dll load
in mIRC 6.21, the dll has been unloaded automatically on mIRC exit.
in mIRC 6.3, I had to tell mIRC explicitely to unload the dll:
on *:EXIT: /dll ac.dll unload

- and now it works.

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Thanks a lot for this finding.
Two friends of mine had this problem (the one on 2k with UPP script, the other on Vista with a custom one..) - your code finally did the trick, at least for one of them using dll calls; $dde(mPlug,*) is making problems though.
I was told the issue had been forwarded to the amip forums now - lets wait and see. Thanks again smile

Last edited by Horstl; 30/08/07 08:39 PM.
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
I've noticed something like this when I do /help (Even pressing F1.) or /ison.

mIRC freezes and uses about 18 MB of space in resources. ;X


What do you do at the end of the world? Are you busy? Will you save us?
Joined: Aug 2007
Posts: 1
C
Mostly harmless
Offline
Mostly harmless
C
Joined: Aug 2007
Posts: 1
Problem with ac.dll AMIP component and mIRC 6.3 has been fixed.

Please see AMIP forum for details.

Joined: Aug 2007
Posts: 2
W
Bowl of petunias
Offline
Bowl of petunias
W
Joined: Aug 2007
Posts: 2
Hi all!

I think now we have the final solution for the problem.

See last version by Serge on AMIP Forum.

BR
who_knows

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Comawhite already beat you to it.

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Yepp, but what has been stated there at a later date (I cannot confirm it, I'm just quoting) might be the general cause for this memory problem, regarding other scripts as well (besides amip):
Quote:
(...) now UnloadDll is called with parameter 2 on exit, 1 on timeout and 0 on manual unload (before mIRC 6.3 it was called with 0 on exit)

I am unable to provide a scripted sollution for a general "on exit > unload all dlls":

- Cycle all dlls in a while loop isn't working; the loop will stop if the error "* /dll: no such routine 'unload'" occurs.
- Firing timers out of a loop - to trigger the unload of all dlls as separate commands - would probably not work on exit: I suppose mirc will exit the very moment the timers had been started. confused


Link Copied to Clipboard