Python Deployment Bundle Size

Python deployment error out at 300MB on the Hobby plan. Documentation indicates that max memory size available is 1024MB on the hobby plan. Can more of that 1024MB be allocated to the code-base? If I upgrade to pro, can I actually get a larger deployment bundle? Understanding that I am still limited to a total run-time of 1024MB.

1024MB is the memory size by default the actual function size limit is 250MB this is the base AWS lambda limit minus a small overhead for some Vercel hooks, if you need something larger you’ll have to create an AWS lambda image with the deps set up and run through AWS, or you can tree shake so the actual code you’re deploying per function is only a few dozen MB instead of shipping entire libraries.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.