Although throwing more time or memory at a script might work, unless it's running on your localhost and you don't mind waiting (and even then) it's much preferable to fix the problem if you can.
This is especially true if your on a shared host. They aren't likely to be pleased if you start hammering resources.
Then again, if only a minor tweak is needed, it might be OK I suppose.
Are you sure it's the file size? i.e. not doing multiple uploads/sends at the same time.