Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> OCI memory leak
Has anyone seen a memory leak with the OCIDescriptorAlloc and
OCIDescriptorFree calls??
I'm using Oracle 8.0.4.1 on an HP K460 running HP-UX 10.20.
My deamon code needs to repetitively allocate and free 100's of Rowid descriptors. In testing we've seen that the OCIDescriptorAlloc call usually doesn't allocate any memory, but when it does it is not free'd. The OCIDescriptorFree call doesn't appear to ever free memory. Note that I'm looking at heap memory and not the stack. I'm hoping that OCI uses the same memory pool as malloc. I would be a really bad thing for it to use the stack since I need the space for POSIX threads.
Does anyone have any experience with this? ...Got any ideas??
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Thu Jul 16 1998 - 16:27:54 CDT
![]() |
![]() |