If you are coming across an error like this:
PHP Fatal error: Allowed memory size of x bytes exhausted (tried to allocate x bytes)
While you can set the PHP variable "memory_limit" for only your account, our servers will remain at a default value. In order to change it for your script, you have to create or edit a ".htaccess" file in your scripts directory. Add the following in this file:
php_value memory_limit xM
Where x is the value needed. Please keep this value to a reasonable level.