My Oracle Support Banner

OCI Client Memory Leak On AQListen and AQDequeue (Doc ID 1080046.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


3 different client-side memory leaks have been observed in a 10.2 AQ OCI
client program when using OCIAQListen in conjunction with OCIAQDeq when using the valgrind massif heap profiler.

1. Issue 1 relates to memory allocated by OCIAQDeq after it has been invoked by OCIAQListen.
2. Issue 2 relates to some memory allocated by OCIDescriptorAlloc (called with OCI_DTYPE_AQMSG_PROPERTIES), while the corresponding OCIDescriptorFree
is correctly called.
3- Issue 3 is related to some memory allocated by OCIAQListen when it is called repeatedly while the queue has another session performing an dequeue which is not committed.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.