Hi,
My problem is with RadForm. When I create a descendant from RadForm and put on it many telerik components, then I see application memory is increasing every time I open that form. I have prepared a small example: there are two forms: first form is just standard .NET form with button to open RadForm and then ask GC about Total used memory. I have used version 2009.2.729 and the problem was with one form, which after 100 times of opening and closing results in about 2 gigabytes of allocated memory. I have checked the last version of Telerik WinForms 2009.3.9.1203, but it still allocates more memory every next time.
The explicit call to garbage collector does not help.
And why I can't attach zip file ?
You can download the zip archive (17 kb) from here http://rapidshare.com/files/367983868/TelerikCheck.zip.html
The single method I have write is following :
private void button1_Click(object sender, EventArgs e) { FormTelerik form = new FormTelerik(); DialogResult res =form.ShowDialog(); form.Dispose(); form = null; long bytes = GC.GetTotalMemory(true); textBox1.Text = string.Format("{0:F3} Megabytes", 1.0*bytes/1024/1024); } |