You'd need either Infinty+ One (Premium) or an S3 level VPS (both at around $20/month) to step over 1GB RAM, by the way, and you may need more. Much cheaper, usually, to do something about the space complexity of your code if it's something that needs to run more than once in a blue moon, or to off-board the process if it's a big process that needs to happen quite infrequently. If it's something in the middle (big process, can't be smooshed, needs to happen often-ish but not often enough to justify paying for that huge resource full-time), then an elastic resource that bills to the second is probably your best bet.