Memory leak in Pro C code
754011Feb 16 2010 — edited Feb 19 2010In 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?