Console Aplication (C#) - Memory Leak

RAFAEL CAÇUCI 1 Reputation point

I have a program "Console Aplication" install in Windows that execute every time. Initial consume 32 MB, but grow infinitely. My program execute connection with DB oracle through provider "Oracle.ManagedDataAccess". To Diagnostics what was happening, i executed o PerfView, the result show high consume/execute in namespace System.Diagnostics and Microsoft.Win32 that GB (Garbage Colletion) can´t solve.
Can someone help me? Is it bug in .NetFrameork/Oracle.ManagedDataAccess?




An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,164 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cheong00 3,471 Reputation points

    I'm also using OracleManagedDataAccess (v4.122.18.3:20180526) to copy data overnight but have not witnessed such problem.

    Maybe you can show a snippet of how you do the function calls show we can see possible problem.

    Then again in the data copying code I use OracleConnection/OracleCommand/OracleTransaction/OracleDataReader with array parameter passing only.

    0 comments No comments