Use another compiler rather than Turbo C.

How many GB of memory do you have, because TC limits you to 640K
How many cores in your processor, because TC only knows about 1
How many etc etc etc do you have, because TC will use a hell of a lot less of each of them.

Oh, and there's bugs in your code as well, so perhaps post your code.