Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Urgent: Memory Leak through OCIServerAttach

107041Jun 24 2002
Hi All,

I am getting memory leak through OCIServerAttach. My application is multithreaded and it is connecting to the database many times through diffirent child process.

As it requires an uninitialized server handle, which gets initialized by this call.

Can anybody help me in solving this.

I am using purify: Thestack trace of the leak is pasted here.

MLK: 196 bytes leaked in 7 blocks
* This memory was allocated from:
malloc [rtlib.o]
nlnvmal [nlnv.c]
nlnvbaloc [nlnv.c]
nlnvpbl [nlnv.c]
nlnvpva [nlnv.c]
nlnvpbi [nlnv.c]
nlnvpds [nlnv.c]
nlnvcrb [nlnv.c]
nlnvcpb [nlnvcpb.c]
nlnvibb [nlnvibb.c]
nlad_use_node [nlad.c]
nladget [nlad.c]
nscall1 [nscall.c]
nscall [nscall.c]
niotns [nio.c]
nigcall [nig.c]
osncon [nigcon.c]
kpuadef [kpuadef.c]
upiini [upiprv.c]
upiah0 [upicdc.c]
kpuatch [kpu.c]
OCIServerAttach [oci8.c]
DB_connect [abc_common.c:2127]
thrStatsDaemon [abc_d.c:883]
threadstart [libthread.so.1]
* Block of 28 bytes (7 times); last block at 0x2106c0


Thanks and regards,
Kshitij
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2002
Added on Jun 24 2002
2 comments
403 views