Replies: 1 comment 2 replies
-
|
This is coming from upstream, AWS. The AWS serverless runtime has the 50MB limit. I wonder if the Python runtime is at play here? Do you know which one you have? Is it PyPy? Just guessing here btw, but IIRC, everything, including the runtime is taken into account in AWS' calculation. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have recently converted my Website from React with React Router to NextJS. Serverless functions work fine locally but when I deploy them to Vercel I keep getting the error that the serverless functions exceed the limit of 50mb (sometimes they are 59mb and sometimes over 200mb depending on my vercel.json).

According to pypis size field the total size of the dependencies should be 12.41mb, the python file itself is 39.9KB. So I am not sure how it gets to 59mb
Here is the error:
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions