Multi Threaded OCI/OCCI Application Leaks Memory With 12c Client.

(Doc ID 2106522.1)

Last updated on OCTOBER 03, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.
*** Checked for relevance on 11th Aug 2017 ***

Symptoms

 1) Multi threaded OCI/OCCI application leaks memory when compiled and run with 12c client. Same code does not leak when run with 11.2.0.4.0 client.

 2) Memory leak report from the valgrind or other equivalent tools has reference to "ztca_" functions. For example, ztca_GetRandom -> ztca_GetRandomMC-> ztca_rsaAdpCreateCtx.

 3) Issue is specific to multi threading concept with 12c client version and not applicable when threading is not used. 

Changes

Either the client is upgraded from lower version to 12c or its a new deployment with 12c client.

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