I am afraid that near and far (pointers?) are too archaic for me, but what it does sound like is that you are trying to use too much space on the stack. You may need to allocate space on the heap instead with malloc and friends, (and free the memory when you are done).