oracle - Strange memory usage pattern in C# Windows Form app -


i trying understand going on in app written in c#. below several images taken performance monitor. blue line #bytes in heaps. green line large object heap size. start app , log me in. app remains idle. first image shows loh increases reason , drops. pattern clear. responsible such behavior?

enter image description here

more. heavy processing starting in (see image below) using oracle database through odp.net. after app remains idle again. loh not drop. instead keeps increasing reason. note application idle. open in desktop. not interacting it.

enter image description here

memory keeps increasing (each image represents 1:15:00).

enter image description here

after more 2 hours decreases , after while starts increasing/decreasing again (see below) in first image. time app idle. going on? memory leak? don't think so. profiled app , couldn't find anything. loh increases without activity. there no open connection oracle database. can odp.net culprit?

enter image description here

the problem due odp.net. if disable connection pool problem not manifest. each connection odp.net seems create 2 threads , @ 3 minutes interval (as seen in images) odp.net housekeeping reason allocates memory not released right away.

it easy reproduce. create simple app when button pressed connection oracle database open , stored procedure executed. notice pattern of first image. pattern of other images due number of connections created app.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -