Skip to content

Tag: out-of-memory

Importing large IDL files into Python with SciPy

I currently use scipy.io.readsav() to import IDL .sav files to Python, which is working well, eg: However, if the .sav file is large (say > 1 GB), I get a MemoryError when trying to import into Python. Usually, iterating through the data would of course solve this (if it were a .txt or .csv file) rather th…