Discussion Board
Go to the previous messageGo to the following message
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
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
garbage collection      Cipriani, Jason A.      Tue Nov 20 2001 2:21 am       
Re: garbage collection      Lee, Peter      Tue Nov 20 2001 3:41 pm       
Re: garbage collection      Cipriani, Jason A.      Tue Nov 20 2001 3:58 pm       
Re: garbage collection      Lee, Peter      Wed Nov 21 2001 10:33 am       
Re: garbage collection      Scherer, Sebastian      Tue Nov 20 2001 4:24 pm       
Re: garbage collection      Lee, Peter      Wed Nov 21 2001 10:35 am       

Back to previous screen