BAD MEM ALLOC

Somehow I'm running out of memory.