[AccessD] Memory leak

MartyConnelly martyconnelly at shaw.ca
Tue Apr 18 14:21:53 CDT 2006


Leaks may depend on the version of MDAC being run. There were some in 
2.5 and 2.6
the MDAC 2.8 SP1 release installs the same Data Access components as 
Microsoft Windows XP SP2.
http://www.microsoft.com/downloads/details.aspx?FamilyID=78cac895-efc2-4f8e-a9e0-3a1afbd5922e&DisplayLang=en

To see version look at registry keys this one is 2.8 SP1
HKEY_LOCAL_MACHINE\Software\Microsoft\DataAccess
Keys

FullInstallVer
Version 2.81.1117.0


Michael R Mattys wrote:

>The search on Google is
>"ADODB.Connection" "Memory+Leak" +PHP
>
>Sample message:
>COM-Support on Apache 1.3.27 with PHP 4.2.2 (as Apache dso) seems to have a
>memory leak. Every time I run the following code, memory usage of Apache
>is increased by about 86 kB:
>
>
>$cid = new COM('ADODB.Connection');
>$cid->Open ("File Name=udlfile.udl");
>$rid = $cid->Execute ("SELECT * FROM test");
>
>
>$rid->Close();
>$rid->Release();
>$rid = NULL;
>unset ($rid);
>
>
>$cid->Close();
>$cid->Release();
>$cid = NULL;
>unset ($cid);
>
>
>
>Michael R. Mattys
>MapPoint Developer
>www.mattysconsulting.com
>----- Original Message ----- 
>From: "Ken Ismert" <KIsmert at TexasSystems.com>
>To: "Access Developers discussion and problem solving" 
><accessd at databaseadvisors.com>
>Sent: Tuesday, April 18, 2006 1:11 PM
>Subject: Re: [AccessD] Memory leak
>
>
>  
>
>>Micheal,
>>
>>    
>>
>>>The strange thing is that this leak has been specifically
>>>identified as a problem with COM based calls by PHP devs
>>>in the newsgroups.
>>>      
>>>
>>Could you post some links to these discussion threads? I'd like to see
>>the code samples they are using.
>>
>>Thanks,
>>
>>-Ken
>>-- 
>>AccessD mailing list
>>AccessD at databaseadvisors.com
>>http://databaseadvisors.com/mailman/listinfo/accessd
>>Website: http://www.databaseadvisors.com 
>>    
>>
>
>  
>

-- 
Marty Connelly
Victoria, B.C.
Canada






More information about the AccessD mailing list