用DataInputStream 包装FileInputStream 如下:
FileInputStream fis=null;
try{
    fis=new FileInputStream ("xxxxxx");
    DataInputStream puts = new DataInputStream(fis);  
    .
    .
    .
}catch(FileNotFoundException e){
}finally{
    try {fis.close();} catch (IOException e) {}finally{fis=null;}
}
最后关闭了了FileInputStream 对象,没有关闭DataInputStream 对象,请问会不会造成内存泄露,以至最终造成服务器内存溢出。