Last year, the memory is bad, don't forget FileReader Reader = New FileReader ("D: //lbhdev/feisanweb//src//265_url.txt"); BufferedReader Br = New BufferedReader (Reader); STRING S1 = NULL; while ((S1 = br.readline ())! = null) {} br.close (); reader.close ();