What are the process limits for a script?
In order to protect the server from incorrectly designed scripts that might consume all available system resources, a script is currently limited to 10 seconds of CPU time, writing up to 64KB to a file, using up to 8MB of memory, using only one process and opening up to 16 files at one time. If your script exceeds a limit, it will be terminated. The actual requirements for your script should be much lower than this. The typical script executes in one or two seconds, does not write much information to a file, if any, and does not require much memory.