[DS-2333] catch OOM error on large files, continue processing