I think that's just plain not enough memory - 8 GB is getting fairly tight on some files, especially if you run a parallel make. (-jX)