Hi,there:
     Thanks for the comments on reading huge file using java .
    Following some of your comments, right now I got a solution, which 
tested for one 150M file just using 1 minutes and then draw the image. 
That sounds a good result I can get.
    Actually, I just used the bufferIO, and use only 1M tempery array to 
store them and then compute the 1M info into the image array which is 
more less than the whole file. Then it felt good.
    I really learned a lot from your guys. Thanks.
    Actually, I still have some questions which may need your guys to 
help me figure out.
   1. Does Java garbage collection will destory the resourse such as big 
array when no more reference point to it ? How can it work???
Does it work - no more reference - mean -- no more object use the 
reference to this array ? 
   2. Does the finialize() invoke the garbage collection thread ? As I 
know, there are method System.gc() can invoke the garbage collection 
right away. Does the finialize do the same thing ?
   Well, just appreciated your guys help !!!
   Have a nice day !

Best Regard 
Quanyu Zhu
   

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to