Truncate data (attributes and file contents) which are too big to fit
in memory (500MB limit).