Memory leak in CreateParameter???
- From: "José Gallegos" <jga_no_s_p_a_m@xxxxxxxxxxx>
- Date: Thu, 31 Mar 2005 20:05:32 -0400
Hi,
I have experiencing memory leaks in the following code. If I execute it
several times, the process is consuming more memory in increments of 4Kb.
ADOStoredProc1 := TADOStoredProc.Create(Self);
try
ADOStoredProc1.Connection := ADOConnection1;
ADOStoredProc1.ProcedureName := 'SP_TEST;
Parameter := ADOStoredProc1.Parameters.CreateParameter('V_RUT',
ftString, pdInput, 100, '77572740');
ADOStoredProc1.Open;
// here we do something with the result
// ......
ADOStoredProc1.Close;
finally
ADOStoredProc1.Free;
end;
The memory leak occurs whatever is the stored proc I execute.
What is wrong? How can I solve it?
Thanks a lot.
José Gallegos A.
.
- Follow-Ups:
- Re: Memory leak in CreateParameter???
- From: Viatcheslav V. Vassiliev
- Re: Memory leak in CreateParameter???
- Prev by Date: Re: ADO Deployment
- Next by Date: fly away?
- Previous by thread: ADO Deployment
- Next by thread: Re: Memory leak in CreateParameter???
- Index(es):