G
Guest
Hello, We have a problem with a small GUI application that leaks memory. The GC seems to miss out on things. A small code snippet that will leak
' This is the method to run when the timer is raised
Private Sub TimerEventProcessor2(ByVal sender As Object, ByVal e As System.EventArgs
Dim stText As Strin
stText = Me.Button1.Tex
stText +=
Me.Button1.Text = stTex
End Su
As you can see everytime the timer event is raised the button text is incremented and hence the application leaks memory. This snippet has been written in shorter forms as well still the same result. Memory leakage. The target is a CE Panel PC from Advantech with an XScale processor
brgd
/maw
' This is the method to run when the timer is raised
Private Sub TimerEventProcessor2(ByVal sender As Object, ByVal e As System.EventArgs
Dim stText As Strin
stText = Me.Button1.Tex
stText +=
Me.Button1.Text = stTex
End Su
As you can see everytime the timer event is raised the button text is incremented and hence the application leaks memory. This snippet has been written in shorter forms as well still the same result. Memory leakage. The target is a CE Panel PC from Advantech with an XScale processor
brgd
/maw