Re: MS ADO Memory Leak FIX (at last??) for VB6




"Wire" <wire001@xxxxxxxxx> wrote in message
news:1136291786.890231.190940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi who has tried out the fix
> http://support.microsoft.com/default.aspx?kbid=308644
>
> Is this finaly the fix fot the long lasting memory leaks?
> who has any experiance with this fix.
> Im getting crazy from the current memory leaks
>
> Its also not possible to download the fix

The example shown in that article does not call Close on the recordset, no
wonder it leaks.

If, in your code you are allowing/causing the recordset to implicitly create
its connection (by setting ActiveConnection to a connection string instead
of a connection object) then you are setting-up another object leak. (The
recordset does not clean-up such connections automatically.)


-Mark



> regards
> Wire
>


.



Relevant Pages

  • Re: Should I close connection?
    ... I'm just reading code that's already there and trying to fix it, ... don't know why the keyset thing. ... connection is automatically closed in the main sub after the function ... returns the recordset, right when the resulting recordset is closed. ...
    (comp.lang.basic.visual.misc)
  • Re: Intermittent Internet...never stays connected
    ... >> connection. ... >> think of to try and fix this problem. ... >> I have Adelphia Cable internet running through a Linksys WRK54G wireless ... > upstream and downstream signals are shared. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Connection Works in Safemode but not in normal Windows
    ... Internet, but I did not fix the problem. ... infected and was killing the connection. ... We uninstalled the network card and unplugged the ethernet cable ...
    (microsoft.public.windows.inetexplorer.ie6.setup)
  • Re: Does Blaster Worm Fix Affect IP Browsing?
    ... > connection, and another connection to a home subnet using ... > they could view all shared resources on my PC. ... > wanted to open one of the shared folders, ... > anyone know if the Blaster security fix (or any other ...
    (microsoft.public.win2000.security)
  • Re: Hello from my DSL
    ... if your connection to the torture thing breaks whereas the rest ... can't fix it. ...
    (rec.games.computer.ultima.dragons)