I received a "Failed to allocate scratch memory!".

Looking into the code [good ol grep], I found
bigarray = malloc(1 << 29); //This tries to allocate 256MB
if (!bigarray) {
 fprintf(stderr, "Failed to allocate scratch memory!\n");
 exit(1);
 exit(0);
}

I had 256MB Ram in this computer (and no swap at the time).

I then setup my 512MB SwapFile, and everything was well.

--
Nathan Coulson (conathan)
------
nathan at linuxfromscratch org
conathan at gmail com
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to