[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netcdf file cache



Don Murray wrote:
John-

In testing the GEMPAK stuff, I started using the NetcdfDataset file cache:

 NetcdfDataset.initNetcdfFileCache(1,10,20*60);

During one of my IDV sessions, I got the following error:

Oct 7, 2009 4:31:18 PM ucar.nc2.util.cache.FileCache cleanup
WARNING: FileCache NetcdfFileCache cleanup couldnt remove enough to keep under the maximum= 10 due to locked files; currently at = 11
Oct 7, 2009 4:31:26 PM ucar.nc2.util.cache.FileCache cleanup
WARNING: FileCache NetcdfFileCache cleanup couldnt remove enough to keep under the maximum= 10 due to locked files; currently at = 12

I didn't have 10 files open at the time and wondering what needs to be done to unlock the files? Thoughts?

it means that some files are not getting closed. you can call one of the 
FileCache.showCache() methods to see whats stuck in the cache