I agree our error messages are a little cryptic sometimes. This error means the calculation ran out of global memory. I don't know what your memory settings are nor how much memory you have per core, but you can see in the output what the code is using if you're using the default. The global memory block should be increased. If you're maxed out on memory usage, the heap block can be 100 mb or less.