Next.js Discord

Discord Forum

Serverless function exceeding 50 mb size limit, don't know how to reduce size

Answered
cnow posted this in #help-forum
Open in Discord
Hi, my serverless function is just over the 50 mb size limit, and i have no idea how i can reduce this. I'm using a JSON file that's pretty large in my function (about 900 MB). I'm using Github LFS.
Answered by cnow
Fixed, I had to move my json file to a google cloud storage bucket
View full answer

2 Replies

Fixed, I had to move my json file to a google cloud storage bucket
Answer