Skip to Main Content

ODP.NET

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!

Possible Memory Leak in ODP.NET AQ

3035401Sep 21 2015 — edited Sep 21 2015

Version 12.1.0.1

Hi have a Problem with Oracle Advanced Queueing on .net

using the ODP.NET Unmanged driver, i see my Process Memory growing and growing.

I have a Queue with a userdefined Type including an XmlType defined as below:

create or replace TYPE            "T_PVL_QUEUE_XML"                                      AS OBJECT
              (Subscriber VARCHAR2 (100),
               Prio NUMBER (3),
               Drucker VARCHAR2 (20),
               Labelfile VARCHAR2 (25),
               Debugging NUMBER (1),
               XmlFile SYS.XMLTYPE,
               DruckFile BLOB)

Getting into it with WinDbg and DebugDiag it shows me an umanaged Leak:

Function  msvcr100!malloc+5b
Source Line 
Allocation type  Heap allocation(s)
Heap handle  0x00000000`00000000
Allocation Count  3610 allocation(s)
Allocation Size  56,37 MBytes
Leak Probability  91%

Call stack sample 1

Address  0x00000000`20d36c80
Allocation Time  2 day(s) 19:30:37 since tracking started
Allocation Size  16 KBytes

Function  Destination
LeakTrack+20ad7 
msvcr100!malloc+5b 
OraOCIEI12!sktsfMalloc+f 
OraOCIEI12!kpufhndl0+ed8d 
OraOCIEI12!kghini+9e5c 
OraOCIEI12!kghini+d618 
OraOCIEI12!kghalo+1176 
OraOCIEI12!kghini+9aca 
OraOCIEI12!kghalp+e70 
OraOCIEI12!slgtd+9ee98 
OraOCIEI12!slgtd+9caa9 
OraOCIEI12!kgesec0+8b11 
OraOCIEI12!kgesec0+82ef 
OraOCIEI12!kgpprthdr+2f608 
OraOCIEI12!kgpprthdr+308b4 
OraOCIEI12!kgesec0+2b00 
OraOCIEI12!kgesec0+bca1 
OraOCIEI12!kgpprthdr+272b3 
OraOCIEI12!kgpprthdr+25b7e 
OraOCIEI12!kgesec0+8b76 
OraOCIEI12!kgesec0+82ef 
OraOCIEI12!lxuDecomposition+16a94 
OraOCIEI12!kpusvcrh+ce71 
OraOCIEI12!OCIAQDeq+57 
oci!OCIAQDeq+ca 
OraOps12!OpsAQDequeue+242 

Call stack sample 2

Address  0x00000000`1ee7fb70
Allocation Time  2 day(s) 19:31:39 since tracking started
Allocation Size  16 KBytes

Function  Destination
LeakTrack+20ad7 
msvcr100!malloc+5b 
OraOCIEI12!sktsfMalloc+f 
OraOCIEI12!kpufhndl0+ed8d 
OraOCIEI12!kghini+9e5c 
OraOCIEI12!kghini+d618 
OraOCIEI12!kghalo+1176 
OraOCIEI12!kghini+9aca 
OraOCIEI12!kghalp+e70 
OraOCIEI12!slgtd+9ee98 
OraOCIEI12!slgtd+9caa9 
OraOCIEI12!kgesec0+8b11 
OraOCIEI12!kgesec0+82ef 
OraOCIEI12!kgpprthdr+2f608 
OraOCIEI12!kgpprthdr+308b4 
OraOCIEI12!kgesec0+2b00 
OraOCIEI12!kgesec0+bca1 
OraOCIEI12!kgpprthdr+272b3 
OraOCIEI12!kgpprthdr+25b7e 
OraOCIEI12!kgesec0+8b76 
OraOCIEI12!kgesec0+82ef 
OraOCIEI12!lxuDecomposition+16a94 
OraOCIEI12!kpusvcrh+ce71 
OraOCIEI12!OCIAQDeq+57 
oci!OCIAQDeq+ca 
OraOps12!OpsAQDequeue+242 
0x7FE9AA89039 

and so on..

i have disposed everything explicit.. but the Memory Leak is still there and make me nuts. Please Help. Thanks

Jan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2015
Added on Sep 21 2015
1 comment
721 views