The below code queries process information for mirc.exe via WMI, which in theory means you can get at it through mIRC COM...
wmic process where name="mirc.exe" get /value
If you wanted to query the ram usuage of your current mirc instance, how would you do that? I mean, say you have more than one mirc.exe open, how can you look it up? Is there a PID identifier in mirc that can help?