Current Forum: Homework 5 - Part 3 |
Date: Tue Nov 20 2001 3:58 pm |
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu> |
Subject: Re: garbage collection |
|
|
ah, i get it. thanks a lot.
so, am i correct in thinking that it would be worthwhile to call System.gc() just once at the beginning of makeIndex? this would be the first and only time it gets called, and it seems like it would free up all the stuff that i used in WebSpider that i am no longer using. and since i'm not calling it in a loop or anything, it would actually benefit the program... even if there's just a tiny delay right before makeIndex gets started.
does this make sense?
jason |
|