L
Lee Grissom
Against SS2K. I have a problem and was wondering if you might know how to
solve it. I have "SqlDataAdapter.Fill(myDataSet)" running on a separate
thread. Then I call SqlCommand.Cancel and that aborts the Fill operation.
Then I call myDataSet.Clear and myDataSet.Free (Delphi syntax). But none of
the system memory gets released until the next time around when I call
myDataSet.Create or if I quit the application. This is a huge problem for
my end users. Of course, I don't understand why the memory is being
consumed so quickly (40MB/sec), so if anyone can explain why ADO.NET is
consuming 40MB/sec whereas Query Analyzer only consumes 4MB/sec... that
would be fantastic. This is a non-GUI assembly.
BTW, my test query is "select * from sysindexes, syscomments".
Many thanks,
Lee
solve it. I have "SqlDataAdapter.Fill(myDataSet)" running on a separate
thread. Then I call SqlCommand.Cancel and that aborts the Fill operation.
Then I call myDataSet.Clear and myDataSet.Free (Delphi syntax). But none of
the system memory gets released until the next time around when I call
myDataSet.Create or if I quit the application. This is a huge problem for
my end users. Of course, I don't understand why the memory is being
consumed so quickly (40MB/sec), so if anyone can explain why ADO.NET is
consuming 40MB/sec whereas Query Analyzer only consumes 4MB/sec... that
would be fantastic. This is a non-GUI assembly.
BTW, my test query is "select * from sysindexes, syscomments".
Many thanks,
Lee