Page 1 of 1

ODAC v6.0 TOraSession::Connect/Disconnect causes memory leak

Posted: Thu 26 Apr 2007 06:51
by Prov
I've make a simple test.

Code: Select all

std::auto_ptr Session( new TOraSession(NULL));
Session->Options->Net = true;
Session->Options->UseUnicode = false;
Session->Server = "vm:1521:db";
Session->Username = "user";
Session->Password = "1";
Session->ConnectMode = cmNormal;
while(true)
{
   Session->Connect();
   Session->Disconnect();
}
Calling of TOraSession::Connect/Disconnect causes memory leak, which is visible in taskmanager.
I've test it with ODAC v5.8 and v6.0(Trial), BCB 6.0. Oracle 10g, oracle client not installed.

Posted: Thu 26 Apr 2007 07:53
by Plash
We have reproduced this problem and we are working on it. You will be notified when we fix the problem.