TOracleQuery memory problem

xxlfalcon

Member
My application leaks some memory. I have included the specific lines of code. During the TOracleQuery.Create no memory is lost. Only after the free i get 8 kb extra memory. This only happens ones.

My Oracle Client : 8.1.7

Anny suggestions.

OracleSession1 := TOracleSession.create(nil);
with OracleSession1 do
begin
// Set Session properties
Connected := TRUE;

with TOracleQuery.create(nil) do
begin
// Free the query
Free;
// now i have 8 kb extra memory
end;
Connected := FALSE;
Free;
end
 
It may be that Oracle Net has allocated some memory for this query, which will be reused. This would imply that subsequent create/free operations do not lead to continuous leaks.

------------------
Marco Kalter
Allround Automations
 
Back
Top