arianne2010
Programmer
We are experiencing a large consume of memory in WinXP with our OCI (Oracle libraries) code when OCIStmtExecute() returns a controlled error.
The code is written in Visual C++ and we are using Oracle Server release 10.2.0.3 and Oracle Client release 9.2.0.1.0.
We don't have detect any performance problems when we inserts massive data (thousand of records) without errors.
This is an example of how we use OCIStmtExecute():
Did anybody met this problem?
Thanks in advance.
The code is written in Visual C++ and we are using Oracle Server release 10.2.0.3 and Oracle Client release 9.2.0.1.0.
We don't have detect any performance problems when we inserts massive data (thousand of records) without errors.
This is an example of how we use OCIStmtExecute():
Code:
if ( (status = OCIStmtExecute(svchp, stmthp1, errhp1, 1, 0, 0, 0, 0)) && status != 1)
{
OCITransRollback(svchp, errhp1, (ub4) 0);
if (stmthp1) OCIHandleFree((dvoid *) stmthp1, OCI_HTYPE_STMT);
if (errhp1) OCIHandleFree((dvoid *)errhp1, (ub4)OCI_HTYPE_ERROR);
return FALSE;
}
Thanks in advance.