You get an out of memory error because you run out of memory, not because there is a limit on the number of columns.