Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Memory leak in Pro C code

754011Feb 16 2010 — edited Feb 19 2010
In our Pro C code, we are creating a connection pool of n connections (normally 5).

During initialization, the connections are established as required and the threads for doing database related activity call a function to get one out of the array of connections and after database activity, that connection is marked as free.

However, the memory consumption of our program keeps on increasing.

We have identified that the memory consumption increases during the call of the function for getting memory and does not decrease on marking the connection as free.

Could you give some indication why this might be happening?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2010
Added on Feb 16 2010
9 comments
1,358 views