What is the code size limit for deploying a Next.js project using "Pages"?

I deployed a Next.js project using "Pages", and the build was successful. However, I'm getting a 500 error when I try to access the site. I'm not sure if this is related to the size of my codebase.
Was this page helpful?