Click here to Skip to main content
15,914,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: SQL math with .net Pin
Adam °Wimsatt4-May-05 10:33
Adam °Wimsatt4-May-05 10:33 
GeneralRe: SQL math with .net Pin
Joey Picerno4-May-05 10:52
Joey Picerno4-May-05 10:52 
GeneralRe: SQL math with .net Pin
Adam °Wimsatt4-May-05 11:46
Adam °Wimsatt4-May-05 11:46 
GeneralRe: SQL math with .net Pin
Joey Picerno4-May-05 14:04
Joey Picerno4-May-05 14:04 
Generalmsgboxresult Pin
Joey Picerno4-May-05 9:08
Joey Picerno4-May-05 9:08 
GeneralRe: msgboxresult Pin
Adam °Wimsatt4-May-05 9:15
Adam °Wimsatt4-May-05 9:15 
GeneralRe: msgboxresult Pin
Joey Picerno4-May-05 9:45
Joey Picerno4-May-05 9:45 
GeneralMemory/Reference leak Pin
Adam °Wimsatt4-May-05 8:53
Adam °Wimsatt4-May-05 8:53 
I had an application handed to me that get the 'privilege' of fixing. This is a vb.net web app that is leaking memory like none other ( ok ok... it's leaking references to objects... fact is it's using up 2gig of memory when it should be using 40Meg).

I'm having a heck of a time locating the source of the memory leak. It is a medium sized application ( about 30,000 lines of code ). Any Ideas on where I should start looking? I see the following lines of code repeated many times over... anything in here look like a memory leak to you?

<br />
			Catch ta As Threading.ThreadAbortException<br />
			Catch ex As Exception<br />
			  	Throw New ApplicationException("Error Retrieving Area Types", ex)<br />
<br />
			Finally<br />
			  	If Not dbConnection Is Nothing Then<br />
			    		If dbConnection.State = ConnectionState.Open Then _<br />
			      			dbConnection.Close()<br />
			    		dbConnection.Dispose()<br />
			    		dbConnection = Nothing<br />
			  	End If<br />
<br />
			End Try<br />




// TODO: Write code.
GeneralRe: Memory/Reference leak Pin
Rizwan Bashir4-May-05 20:52
Rizwan Bashir4-May-05 20:52 
GeneralRe: Memory/Reference leak Pin
Adam °Wimsatt5-May-05 3:29
Adam °Wimsatt5-May-05 3:29 
GeneralRe: Memory/Reference leak Pin
Rizwan Bashir5-May-05 21:51
Rizwan Bashir5-May-05 21:51 
Generalmultiple panels vs. MDI Pin
stew10134-May-05 8:49
stew10134-May-05 8:49 
GeneralRe: multiple panels vs. MDI Pin
Scott Page24-May-05 4:00
professionalScott Page24-May-05 4:00 
GeneralPayroll Pin
Desi Bravo4-May-05 8:17
Desi Bravo4-May-05 8:17 
GeneralRe: Payroll Pin
Joey Picerno4-May-05 9:55
Joey Picerno4-May-05 9:55 
GeneralRe: Payroll Pin
Desi Bravo4-May-05 17:17
Desi Bravo4-May-05 17:17 
GeneralRe: Payroll Pin
Madni Abbasi4-May-05 19:44
Madni Abbasi4-May-05 19:44 
GeneralRe: Payroll Pin
Joey Picerno5-May-05 4:09
Joey Picerno5-May-05 4:09 
GeneralProblem in Opening connection in SQL Server Pin
Murtuza Husain Miyan Patel4-May-05 4:48
professionalMurtuza Husain Miyan Patel4-May-05 4:48 
GeneralRe: Problem in Opening connection in SQL Server Pin
Madni Abbasi4-May-05 5:49
Madni Abbasi4-May-05 5:49 
GeneralRe: Problem in Opening connection in SQL Server Pin
Murtuza Husain Miyan Patel4-May-05 19:59
professionalMurtuza Husain Miyan Patel4-May-05 19:59 
GeneralRe: Problem in Opening connection in SQL Server Pin
Murtuza Husain Miyan Patel5-May-05 7:54
professionalMurtuza Husain Miyan Patel5-May-05 7:54 
GeneralRe: Problem in Opening connection in SQL Server Pin
Joey Picerno4-May-05 6:53
Joey Picerno4-May-05 6:53 
GeneralRe: Problem in Opening connection in SQL Server Pin
toxcct5-May-05 1:13
toxcct5-May-05 1:13 
GeneralRe: Problem in Opening connection in SQL Server Pin
toxcct5-May-05 1:17
toxcct5-May-05 1:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.