Memory leak

Memory leak

Postby woehling » Sun 26 Jul 2009 16:30

Hello,
I just tried out your free ADO.NET Oracle Provider (Express version) and found a serious memory leak.
It really seems to be a bug.
Here's the sample code to reproduce the behaviour (same behaviour with an UPDATE statement instead of the SELECT statement, same behaviour on Windows Server 2008 x64 and Windows XP 32bit).

using(var connection = new OracleConnection("Data Source=XYZ;User Id=system;Password=XYZ"))
{
connection.Open();
for(int i = 0; i < 100000; i++)
{
using (var cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT 0 AS Dummy FROM dual WHERE 1=0";
cmd.ExecuteNonQuery();
}
}
}

PS: Your contact form and feedback form throw a javascript error...
woehling
 
Posts: 5
Joined: Sun 26 Jul 2009 16:23

Postby Shalex » Mon 27 Jul 2009 14:16

We will investigate the issue and notify you about the results as soon as possible.
Shalex
Devart Team
 
Posts: 7793
Joined: Thu 14 Aug 2008 12:44

Postby Shalex » Tue 11 Aug 2009 15:00

The problem is fixed. Look forward to the next build of dotConnect for Oracle.
Shalex
Devart Team
 
Posts: 7793
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle