Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Memory Leak in OCI Calls
Hi Group,
I am using OCI Calls to connect to an Oracle database to execute some
stored procedures. I am using Oracle 8i on Solaris 2.8. Mine is a
multithreaded
application.
When analyzing my program using Sun Workshop, it gave me a memory
leak in the libraries used by ORACLE OCI Calls.
The report is enclosed. Can anyone tell me what could be the problem?
Actual leaks report (actual leaks: 247 total size: 13042
bytes)
Total Num of Leaked Allocation call stack
Size Blocks Block
Address ====== ====== ========== ======================================= 11902 236 - operator new<-std::basic_string,std::allocator >::__getRep 1024 1 0x22be78 calloc<-_tsdbufalloc<-_getextmntent<-getdevinfo<-getcwd<-snlfncdir<-nigini1<-niqname 48 2 - _alloc_attr<-_pthread_mutexattr_init 20 1 0x236ec0 pthread_setspecific<-_t_tsdalloc<-__nderror<-_get_hostserv_inetnetdir_byname<-gethostbyname_r<-nttbnd2addr<-ntacbnd2addr<-nsc2addr 12 1 0x215290 calloc<-_tsdbufalloc<-_getextmntent<-getdevinfo<-getcwd<-snlfncdir<-nigini1<-niqname 12 1 0x2152b8 calloc<-_tsdbufalloc<-_getextmntent<-getdevinfo<-getcwd<-snlfncdir<-nigini1<-niqname 8 1 0x214a08 calloc<-pthread_setspecific<-_tsdbufalloc<-_getextmntent<-getdevinfo<-getcwd<-snlfncdir<-nigini1 4 1 0x214908
_strdup<-__rpc_getconfip<-gethostbyname_r<-nttbnd2addr<-ntacbnd2addr<-nsc2addr<-nscall1<-nscall
4 1 0x2366d0
_t_tsdalloc<-__nderror<-_get_hostserv_inetnetdir_byname<-gethostbyname_r<-nttbnd2addr<-ntacbnd2addr<-nsc2addr<-nscall1
4 1 0x236630
_strdup<-__rpc_getconfip<-gethostbyname_r<-nttbnd2addr<-ntacbnd2addr<-nsc2addr<-nscall1<-nscall
4 1 0x236410
-- With Regds, RameshReceived on Thu Oct 17 2002 - 05:24:55 CDT