Issue with insufficient swap or memory space

Hi,
When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
I have zipped most of the files in my directory.If anybody knows how to resolve this issue please help me.

Thanks

Hi,

Please can you provide the output for df -kh output for the Server.

Cheers.

Please post the name and version of your Operating System, your preferred shell ... and the script itself.

It shouldn't have anything to do with how many files you have, it's complaining about RAM. Either this script is incorrectly demanding impossibly huge amounts of memory for some reason, or the error means exactly what it says -- out of swap, or memory.