Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> C/C++ DBI Memory Leak??

C/C++ DBI Memory Leak??

From: Douglas Pace <dbp_at_dana.ucc.nau.edu>
Date: Tue, 26 Oct 1999 15:40:18 -0700
Message-ID: <38162DD2.E42DD328@dana.ucc.nau.edu>


I'm currently writing a deamon for statistical purposes that must comunicate with our Oracle Database. Being new to Oracle I'm not sure what information you might need to anwser my question. Anyway, I'm using the C/C++ DBI in conjuntion with this program. During running, when the DBI has errors, either can't connect, refusal of connection, to many instances or whatever, the program grows to an immense size and then just hangs. It remains a sleeping process until it is killed. By immense size I refer to the difference between ~9000k it runs at normally and 21M of resident memory. I have been unable to find a solution for this. On any error I disconnect from the database and then return from the function. I am damn sure that I have no allocated memory in this function so I am at a loss as to why this happens. If this is the wrong place to ask this, please just point in the right direction. Thanks

Douglas Received on Tue Oct 26 1999 - 17:40:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US