There are a number of limits, some depend on the operating system. The C runtime library might have limits, the user name you run under might have limits, and there can be global limits set. If you let us know the exact error message you are getting ($! and maybe $^E), and the operating system, then we might be able to help further.