Does OCI provide an external function to free unreferenced objects in the client-side object cache?
No. OCI does not provide an external function to free unreferenced objects in the client-side object cache. OCI does provide a function, OCIObjectFree(), that frees the memory of an object specified by the caller.Freeing an object copy removes it from the object cache and frees up its memory. The client-side object cache supports two methods for freeing up memory: • Explicit freeing – A program explicitly frees or removes an object copy from the object cache by calling OCIObjectFree(), which takes an option to (forcefully) free either a marked or pinned object copy. The program can also call OCICacheFree() to free all object copies in the object cache. • Implicit freeing – Should the object cache begin to run out of memory, it implicitly frees object copies that are both unpinned and unmarked. Unpinned objects that are marked are eligible for implicitly freeing only when the object copy is flushed or unmarked. For memory management reasons, it is important that applications unpin objec