Modify

Opened 15 years ago

Closed 15 years ago

#853 closed Bug (Wont Fix)

Embedded IE object has a memory leak when refreshing .php pages

Reported by: jackweed@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

If continual refreshes are used (IE: hit home button several times), you will run out of system memory (use task manager to view memory for this autoit3 process)
I've noticed that some .php pages cause a 1k memory increase on each page refresh.
Facebook homepage refresh is ok...
I use gangsterwar's php refresh and it increases by 1k each refresh. At first I thought it was my original script, however, I used the UDF demo script and put my offending page in there and I still get the memory leak.
================ cut script here ===================
#include <GUIConstantsEx.au3>
#include <IE.au3>
#include <WindowsConstants.au3>

_IEErrorHandlerRegister ()

$oIE = _IECreateEmbedded ()
GUICreate("Embedded Web control Test", 640, 580, _

(@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
$WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 600, 360)
$GUI_Button_Home = GUICtrlCreateButton("Home", 230, 420, 100, 30)

GUISetState() ;Show GUI

_IENavigate ($oIE, "http://www.autoitscript.com")

; Waiting for user to close the window
While 1

$msg = GUIGetMsg()
Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case $msg = $GUI_Button_Home

_IENavigate ($oIE, "http://apps.facebook.com/gangsterbattle/targets.php")

EndSelect

WEnd

GUIDelete()

Exit
======================= end of script =================

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Valik

  • Resolution set to Wont Fix
  • Status changed from new to closed

And you expect us to do what? Using an embedded control means you are using a control written by somebody else. In this case, Microsoft since they wrote Internet Explorer. We can't exactly fix Internet Explorer.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.