Fix OutOfmemory pb when there is a lot of files to parse.