What are the challenges you face when working across database platforms? Take the survey
Options

How to interpret classname Byte[] on System.Data.SQLClient.TdsParser

I presume I have an memory leak with a SQL Connexion.

A timer refreshes a DataGrid each minute.

A lot of instances of byte[] lives in memory

q724rlxk4gog.jpg.

The instance categorizer is the following one

xj8p160752fs.jpg

The instances list is the following one

87zb6a4wk0uu.jpg

=> The VB.Net code seems to be OK to my mind...

Dim dataSetFinishedList As New Ent.InsiteCoil.DataSetCoilExitFinished
Try
Using dataAdapater As New DataSetCoilExitFinishedTableAdapters.CoilExitFinishedTableAdapter
Using connexion As SqlClient.SqlConnection = New SqlClient.SqlConnection(Fx.Configuration.InsiteCoilConnectionString)
dataAdapater.Connection = connexion
dataAdapater.Fill(dataSetFinishedList.CoilExitFinished)
End Using
End Using
Catch ex As Exception
End Try
Return dataSetFinishedList

Is it possible that the SQLDataAdapter, that had been automaticaly generated by Visual Studio causes memory leaks ?




Sign In or Register to comment.