tehon3299
Centurion
Alright. Once again I have a question about garbage collection in .NET. I have a program that parses through a websites code and gets all the links on that page and then goes to each one of those links and gets all those links and so on. As you can imagine this program will never stop running.
BUT everytime I find a link I am creating an object of a class and after about 25 minutes I get a memory error. I have a finalize method in my class that sets the object equal to nothing but what else do I need to do to free the memory?
BUT everytime I find a link I am creating an object of a class and after about 25 minutes I get a memory error. I have a finalize method in my class that sets the object equal to nothing but what else do I need to do to free the memory?