Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does OCI provide an external function to free unreferenced objects in the client-side object cache?

0
Posted

Does OCI provide an external function to free unreferenced objects in the client-side object cache?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.