Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment Fails on Vercel Hobby Plan Due to Increased Memory Limit #4132

Open
Eric-2369 opened this issue Feb 5, 2025 · 4 comments
Open
Labels
bug Something isn't working. ⭐ top bug Top bug.

Comments

@Eric-2369
Copy link

Describe the bug

Hi, the latest update of this project introduced a change:

"memory": 1200,

However, for Vercel users on the Hobby plan, the maximum allowed runtime memory is 1024. This change will cause deployment errors for users on the Hobby Vercel plan.

ref: https://vercel.com/docs/functions/limitations#memory-size-limits

Expected behavior

No response

Screenshots / Live demo link

No response

Additional context

No response

@Eric-2369 Eric-2369 added the bug Something isn't working. label Feb 5, 2025
@Eric-2369
Copy link
Author

It seems like after enabling Vercel's Fluid Compute, Vercel will ignore the memory setting.

Ref: Vercel Documentation - Configuring Functions Memory

"If you are on the Hobby plan, and have enabled fluid compute, the memory size will be managed by Vercel with a minimum of 0.6 vCPU."

However, the project has not provided any update or documentation indicating that users need to enable Fluid Compute.

@moshefortgang
Copy link

moshefortgang commented Feb 12, 2025

I saw that the memory limit was increased from 128 to 1200 in commit 3344bfd.
Would it make sense to reduce it to 1024 instead? I tried this in a fork I created, and it works fine.
I'd be happy to open a PR if needed.

@shujiejune
Copy link

I enabled Fluid Compute but deployment still failed.
Forked from @moshefortgang and it worked well.

@thenocturnaldevgypsy
Copy link

thenocturnaldevgypsy commented Feb 25, 2025

Experiencing the same issue , also getting Serverless Functions are limited to 1024 mb of memory for personal accounts (Hobby plan). To increase, create a team (Pro plan) error message when setting up at Vercel. Just like what @shujiejune did, I forked @moshefortgang 's repo and it worked nicely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. ⭐ top bug Top bug.
Projects
None yet
Development

No branches or pull requests

4 participants