Re: Memory leak in IE javascript with webservice.htc

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 09/27/04


Date: Mon, 27 Sep 2004 12:59:19 -0700

IE has lots of memory leaks, not surprising that that there is a leak
calling xmlhttp. I doubt that any fix will be coming, as the soap behavior
calls for increased security settings with xp-sp2. switch to the standard
hidden frame approach for IE, and save soap calls for mozilla/netscape which
have it in.

-- bruce (sqlwork.com)

"Chris Bardon" <cmbardon@engmail.uwaterloo.ca> wrote in message
news:5c2b81.0409271111.60bc555d@posting.google.com...
> I'm working on an application where I need to be able to call a .net
> web service from javascript. I found the webservice.htc file, and was
> able to create a page that worked just fine, except that the memory
> usage of iexplore.exe began to increase without limit as the service
> was called. To demonstrate this, I tried the following script, which
> showed the increase very quickly by continuously calling the service.
> Since useService is the only method being called, this is likely where
> the problem lies. Is there a fix for this problem yet?
>
> Thanks,
>
> Chris
>
>
> <html>
> <head>
> <script language="JavaScript">
>
> function init()
> {
> service.useService("http://testServer/testcti/service1.asmx?WSDL","Test");
> call();
> }
>
> function call()
> {
> service.TestCTI.callService("AgentEventWait",1000,100,"ice1");
> }
>
> function onWSresult()
> {
> call();
> }
> </script>
> </head>
> <body onload="init()">
> <div id="service" style="behavior:url(webservice.htc)"
> onresult="onWSresult()">
> </div>
> </body>
> </html>



Relevant Pages

  • Re: Memory leak in IE javascript with webservice.htc
    ... IE has lots of memory leaks, not surprising that that there is a leak ... calling xmlhttp. ... I doubt that any fix will be coming, as the soap behavior ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: MS ADO Memory Leak FIX (at last??) for VB6
    ... > Is this finaly the fix fot the long lasting memory leaks? ... in your code you are allowing/causing the recordset to implicitly create ... its connection (by setting ActiveConnection to a connection string instead ...
    (microsoft.public.vb.database.ado)
  • Re: Soap pump not pumping
    ... Might be some dried soap blocking the check valve. ... and soak it in water overnight. ... get pushed out the dispenser. ... I hate things I can't see to figure out how to fix them! ...
    (alt.home.repair)
  • Re: Urgent: STL deque leaks memory
    ... It seems to remove all memory leaks. ... > on the fix for the same in any of the Visual Studio 6.0 service packs. ... Is there some particular problem other than STL fixes that you're ...
    (microsoft.public.vc.stl)
  • Re: Memory Leak with AnsiString
    ... > To turn the (IMO more intuitive) function into a procedure with a var ... One needs other alternatives to fix the problem. ... I'm not sure that would even fix the original problem of memory leaks. ... I would like to see this intuitive function fix you are talking about. ...
    (borland.public.delphi.non-technical)