MemoryLeak in Session Pooling

lev_ko

Member²
The following simple code causes a stable memory leak, when run in a loop.

TOracleSession* session = new TOracleSession(NULL);
session->LogonDatabase = "MY_DB";
session->LogonPassword = "MY_LOGON";
session->LogonUsername = "MY_PASSWORD";
session->Pooling = spInternal;
session->Connected = true;
delete session;

If Pooling is set to spNone, no memory leak takes place.

If I set session->Preferences->UseOCI7=true, the problem is resolved. My question is: what impact will the use of OCI7 have on my system ? What are the dangers or the limitations of setting the property ?

My DOA version is 3.4.3.

Thanks,
Lev
 
The limitations of UseOCI7 are that you cannot use any Net8 specific features: CLOB's, BLOB's, TOracleObject, TOracleReference, TOracleDirectPathLoader, Password Expiration. There are no "dangers".

Before looking into the memory leak issue, could you let me know your Net8 version?

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