How to Work with Gabrage Collector

  • Thread starter Thread starter João Santa Bárbara
  • Start date Start date
J

João Santa Bárbara

hi all, i´m noobie in .Net, and i need to know how to work with the cargabe
collector.

as an example
i have a button´s click event
with this code ..

private sub Button_EventClick (.....)
Dim frm as New frmForm ()
Frm.MdiParent = me
frm.show
end sub

after that, when do i call the garbage colector ?? if i don´t have access to
the form ?
my problem is that i have an aplication that comsumes lots of memory
i need todo some procedures to get more free memory.

thks
JSB
 
Back
Top