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 -> Re: Memory Leak in OCI Calls

Re: Memory Leak in OCI Calls

From: Joel Garry <joel-garry_at_home.com>
Date: 17 Oct 2002 17:11:37 -0700
Message-ID: <91884734.0210171611.6781ec10@posting.google.com>


Ramesh Natarajan <ramesh_at_motorola.com> wrote in message news:<3DAE8FF7.7F3BF7AE_at_motorola.com>...
> 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.

Don't know much about this report, but have you checked the latest Oracle patchset readme under memory leaks? Go to metalink.oracle.com, select patches, enter your environment, search readme for resource leaks.

>
> 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
> _t_tsdalloc<-__nc_error<-fgetnetconfig<-getnetlist<-setnetconfig<-__rpc_getconfip<-gethostbyname_r<-nttbnd2addr

jg

--
@home.com is cox.net
I do so much that I forget.
I can't believe what's on the net.
I guess that I am just all wet.
Received on Thu Oct 17 2002 - 19:11:37 CDT

Original text of this message

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