#include <IE.au3>
#include <Array.au3>
#include <WinAPIEx.au3>
Opt('MustDeclareVars', 1)
Global $aList, $aData, $sProcess = 'IEXPLORE.EXE', $iMemory
Dim $aInfo[3][4] = [['http://www.google.ru/'],['http://www.mail.ru/'],['http://www.yandex.ru/']]
;$aInfo[$i][0] - ссылка, $aInfo[$i][1] - Handle окна, $aInfo[$i][2] - Pid, $aInfo[$i][3] - память
Dim $aoIE[3]
For $i = 0 To 2
$aoIE[$i] = _IECreate($aInfo[$i][0])
Next
For $i = 0 To 2
$aInfo[$i][1] = _IEPropertyGet($aoIE[$i], 'hwnd')
$aInfo[$i][2] = WinGetProcess($aInfo[$i][1])
Next
$aList = ProcessList($sProcess)
If $aList[0][0] Then
For $i = 1 To $aList[0][0]
If _ArraySearch($aInfo, $aList[$i][1], 0, 0, 0, 0, 0, 2) = -1 Then
ReDim $aInfo[UBound($aInfo) + 1][4]
$aInfo[UBound($aInfo) - 1][0] = 'Еще один процесс IE'
$aInfo[UBound($aInfo) - 1][2] = $aList[$i][1]
EndIf
Next
EndIf
For $i = 0 To UBound($aInfo) - 1
$aData = _WinAPI_GetProcessMemoryInfo($aInfo[$i][2])
If IsArray($aData) Then
$iMemory = $aData[2]
Switch $iMemory
Case 0 To 1024
$iMemory = $iMemory & ' b'
Case 1024 To 1048576
$iMemory = Round($iMemory / 1024, 2) & ' kb.'
Case Else
$iMemory = Round($iMemory / 1048576, 2) & ' Mb.'
EndSwitch
$aInfo[$i][3] = $iMemory
EndIf
Next
_ArrayDisplay($aInfo)