I see. Those server issues can usually be resolved only by editing the php.ini file. This is not allowed unless you're on a dedicated server, so many people will have this problem. I'll check into possible "directives" that can be invoked from within a script to relieve the problems.
php.ini defines (for the whole hosting server), the maximum amount of memory a script can consume while it's running. The default value is 8MB, which is very often too small.
If I can find any answers that will work on shared hosts, I will pass them on to you.