[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [Help](/c/help/9) # Serverless Function has exceeded the unzipped maximum size of 250 MB 271 views · 0 likes · 3 posts Jack Griffiths (@jackgriffiths) · 2025-01-20 <!-- Questions that get answered the fastest are the ones with relevant info included in the original post. Be sure to include all detail needed to let others see and understand the problem! --> <!-- Current versus Expected behavior --> When I deploy to Vercel, I consistently get an error saying "A Serverless Function has exceeded the unzipped maximum size of 250 MB". I get no other error message. The function should run as intended. I have tried to follow other posts with similar issues but to no avail. It seems like there is no specific fix for this issue. <!-- Code, configuration, and steps that reproduce this issue --> The minimum requirements for my build are: ``` numpy pandas python-dotenv scikit-learn supabase tqdm requests joblib ``` as per my `requirements.txt` file. My `vercel.json` file is ``` { "version": 2, "crons": [{ "path": "/api/analyze", "schedule": "1 0 * * *" }] } ``` <!-- Project information (URL, framework, environment, project settings) --> I have tried using React 22.0, 20.0, and 18.0, with no luck. Pauline P. Narvas (@pawlean) · 2025-01-20 Hi, Jack! Welcome to the Vercel Community :smile: Do you know what the size of your function is currently? https://community.vercel.com/t/error-a-serverless-function-has-exceeded-the-unzipped-maximum-size-of-250-mb-https-vercel-link-serverless-function-size/1086/2 Pauline P. Narvas (@pawlean) · 2026-02-25 Quick update that's directly relevant here — Vercel has increased the Python Functions bundle size limit to **500MB unzipped** (up from 250MB). A typical ML stack of numpy + pandas + scikit-learn + joblib usually lands well under that new ceiling, so you should be able to redeploy without removing or swapping any of your dependencies. Reference: https://vercel.com/changelog/python-vercel-functions-bundle-size-limit-increased-to-500mb