G
Guest
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim a As ArrayList, i As Long
a = New ArrayList
For i = 1 To 1000000
a.Add(10)
Next
End If
End Sub
This code causes the process aspnet_wp.exe to grow form 2MB to 45MB in size.
After page is processed the size does not comes down. I have tried
a.clear()
me.dispose()
whether i put 'a' in session or not, the process grows. I want to manage
this uncontrolled situation. pls help.
samik
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Dim a As ArrayList, i As Long
a = New ArrayList
For i = 1 To 1000000
a.Add(10)
Next
End If
End Sub
This code causes the process aspnet_wp.exe to grow form 2MB to 45MB in size.
After page is processed the size does not comes down. I have tried
a.clear()
me.dispose()
whether i put 'a' in session or not, the process grows. I want to manage
this uncontrolled situation. pls help.
samik