MemoryError

So some sort of tracing code was in place and I ran it the first time with the full data set. The computer started crunching the numbers and then a few minutes later it spat out
python(54674) malloc: *** mmap(size=587386880) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Traceback (most recent call last):

MemoryError
I was only trying to trace three points and it still ran out of memory. I’ll need some other way to do this.