memoising the compressor for sequence files to avoid OOME