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 -> OCI memory leak

OCI memory leak

From: <lnehrin_at_my-dejanews.com>
Date: Thu, 16 Jul 1998 21:09:34 GMT
Message-ID: <6olq6d$lch$1@nnrp1.dejanews.com>


Has anyone noticed a memory leak using 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 dynamically allocate 100's of Rowid descriptors and free them when done. The OCIDescriptorFree always returns successful but does not appear to free any memory. The OCIDescriptorAlloc usually doesn't allocate any memory, but every once in a while it does (which doesn't ever get free'd) . Note that I'm only looking at heap memory and not the stack....I was hoping Oracle used the same pool of memory as malloc. Using the stack would be a really bad thing since I need that space for threads.

Purify doesn't show anything other than the normal Oracle unintialized memory reads and array bounds writes that Oracle doesn't seem to clean up in their library code.....unrelated to this problem.

Anybody have any experience with this? or any ideas?

please email <lnehrin_at_uswest.com> since our newsfeeds have been abandoned... had to use www.dejanews.com to post this......

-----== 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:09:34 CDT

Original text of this message

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