$com WMI memory leak - 08/12/05 02:52 AM
There is a memory leak when connecting to WMI it seems.
To verify this, follow these steps, but note that you need atleast mIRC 6.16 and Windows 2k pro or higher:
Each time the identifier $memuse is called, the memory usage for the calling mIRC is increased. As far as I can tell, the code in $memuse does what it's supposed to do to prevent memory leakage, leaving me to believe that this is an mIRC issue.
To verify this, follow these steps, but note that you need atleast mIRC 6.16 and Windows 2k pro or higher:
- Download $memuse
- Load it in your remote: alt+r -> tab "Remote" together with the following code:Code:
alias memleak { if (!$isalias(memuse)) return .timermemuse 5 2 echo -a $!memuse(mirc.exe,1,m).suf ** $!memuse(mirc.exe,2,m).suf }
Make sure that the alias is on 4 lines as it is shown in this post. - If you only have 1 mIRC open, then type: //run $mircexe
- In the original mIRC (not the one you just opened) type /memleak
Each time the identifier $memuse is called, the memory usage for the calling mIRC is increased. As far as I can tell, the code in $memuse does what it's supposed to do to prevent memory leakage, leaving me to believe that this is an mIRC issue.