I am working on a memory-use intensive piece of code for various processing of Landsat tiles. I'm attempting to clean up after my file use in the code, to make room for further processing along the way. When I use ENVI_FILE_MNG (with the /REMOVE option) to close files, they remain in the 'Available Band List' of ENVI - and hence, take up precious memory (correct?). Is there something else I should be doing, to remove these files from memory? Thanks.
|