P
PGP
Sorry i asked the same question yesterday but did a bad job on describing
the issue so here is a better description.
This is in .NET Compact Framework.
I have a form which creates modeless forms using code like
Form frm = new Form1() ;
frm.Show() ;
These modeless forms get closed and i can see their corresponding Dispose
getting called. It seems that the memory allocated for these forms are never
collected after they are closed. This causes the application to run slower
and slower as more forms are opened and closed.
What do i do to make sure that the memory allocated by these forms are
reclaimed when they are closed?
Thanks in advance.
the issue so here is a better description.
This is in .NET Compact Framework.
I have a form which creates modeless forms using code like
Form frm = new Form1() ;
frm.Show() ;
These modeless forms get closed and i can see their corresponding Dispose
getting called. It seems that the memory allocated for these forms are never
collected after they are closed. This causes the application to run slower
and slower as more forms are opened and closed.
What do i do to make sure that the memory allocated by these forms are
reclaimed when they are closed?
Thanks in advance.