Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> C/C++ DBI Memory Leak??
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
![]() |
![]() |