Memory Leak Seen While Invoking MSOLEDB Library Via Com (Doc ID 1954192.1)

Last updated on DECEMBER 15, 2014

Applies to:

Siebel Applications - Version 8.1.1.7 [21238] and later
Information in this document applies to any platform.

Symptoms

On : 8.1.1.7 [21238] version, Task Based UI
IE 8.0.7601.17514


ACTUAL BEHAVIOR
---------------
Seeing multiple Memory related crashes

EXPECTED BEHAVIOR
-----------------------
Crashes should not be occurring.

STEPS
-----------------------
1) Invoke the following script for 100k iteration. constant memory leak is observed

function Service_PreInvokeMethod(MethodName, Inputs, Outputs) {

var conn = COMCreateObject("ADODB.Connection");
var rs = COMCreateObject("ADODB.Recordset");
var connStr;
var sql;
var count = 0;

if ( MethodName == "a" )
{

connStr = "DSN=esia811_DSN";

.
.
sql = "select * from dbo.S_PARTY;";
.
conn.Open(connStr,"sadmin","sadmin");
rs.Open(sql,conn);
rs.MoveFirst();
rs.Close();
return (CancelOperation);
}
.
return (ContinueOperation);
}



BUSINESS IMPACT
-----------------------
memory leak crash

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms