> What happens on my machine with 8GB of RAM is the os.execute() call > returns -1. If the for-loop is set to only allocate 3GB then the > os.execute() works normally. How much swap-space do you have? What's the operating system, and what are your overcommitment settings?